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

fix(crons): Don't panic when passing --auth-token #2172

Merged
merged 1 commit into from
Oct 22, 2024

Commits on Sep 30, 2024

  1. fix(crons): Don't panic when passing --auth-token

    The `--auth-token` argument is hidden from the `sentry-cli monitors run` subcommand since the command uses DSN authentication, however passing the argument is still possible (it is simply ignored).
    
    However, previously providing this argument caused a panic with a not-very-user-friendly message, since the argument was defined here without the auth token parser, and we attempt to read the auth token as an AuthToken.
    
    This PR fixes the bug.
    
    Fixes #2170
    szokeasaurusrex committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    7c9e204 View commit details
    Browse the repository at this point in the history