Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(crons): Don't panic when passing
--auth-token
(#2172)
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, providing this argument causes 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
- Loading branch information