Skip to content

SetPlatform is overloaded #103

@Naatan

Description

@Naatan

Rollbar seems to use platform for two distinct purposes:

  • Identifying the operating system
  • Identifying whether a request is coming from a "client"

I work on a CLI app that uses a client token, and so we send "client" for the platform because otherwise, the client token would not work as per the documentation:

post_client_item
Allows access to POST client-side items (platform is android,browser, client, flash, or ios)

This means that I can't send the operating system to rollbar without violating the intend of the API tokens, which is a strange limitation to have.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions