Skip to content

OAuth: catch TokenExpiredError exception #10510

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

Merged
merged 1 commit into from
Jul 5, 2023

Conversation

humitos
Copy link
Member

@humitos humitos commented Jul 5, 2023

There is nothing we can do in this case. So, we are logging the exception instead of sending it to Sentry as an error.

In the future we could handle this exception differently and communicate these errors to the users so they can re-install Read the Docs app in their GH accounts.

Sentry: https://read-the-docs.sentry.io/issues/3526635712/

Based on: #10082

There is nothing we can do in this case. So, we are logging the exception
instead of sending it to Sentry as an error.

In the future we could handle this exception differently and communicate these
errors to the users so they can re-install Read the Docs app in their GH accounts.

Sentry: https://read-the-docs.sentry.io/issues/3526635712/
@humitos humitos requested a review from a team as a code owner July 5, 2023 09:13
@humitos humitos requested a review from stsewd July 5, 2023 09:13
@humitos humitos merged commit d7abacc into main Jul 5, 2023
@humitos humitos deleted the humitos/catch-oauth-token-expired branch July 5, 2023 15:09
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

Successfully merging this pull request may close these issues.

2 participants