Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SetPlatform is overloaded #103

Open
Naatan opened this issue Oct 21, 2022 · 0 comments
Open

SetPlatform is overloaded #103

Naatan opened this issue Oct 21, 2022 · 0 comments

Comments

@Naatan
Copy link

Naatan commented Oct 21, 2022

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.

@alif alif closed this as completed Aug 14, 2024
@alif alif reopened this Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants