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

[cli] Handle unauthorized errors when user is not logged in #4975

Merged
merged 6 commits into from Aug 4, 2020

Conversation

styfle
Copy link
Member

@styfle styfle commented Aug 4, 2020

We don't need to report these errors to Sentry because the user attempted a command that requires them to login.

https://sentry.io/organizations/vercel/issues/1498276418/?project=1323225

This will print:

  • NOT_AUTHORIZED: "The specified token is not valid. Use vc login to generate a new token."
  • TEAM_DELETED: "Your team was deleted. You can switch to a different one using vc switch"

Related

@kodiakhq kodiakhq bot merged commit c412642 into master Aug 4, 2020
@kodiakhq kodiakhq bot deleted the ignore-sentry-auth-error branch August 4, 2020 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants