Skip to content

Handle general oauth services errors #4070

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

Closed
wants to merge 1 commit into from

Conversation

humitos
Copy link
Member

@humitos humitos commented May 8, 2018

This is a way to protect ourselves from random errors when syncing OAuth services (create repository/organizations).

If a global exception is raised, we just skip this service and continue with the rest of the connected ones.

Related: https://github.com/readthedocs/readthedocs-corporate/issues/323

This is a way to protect ourselves from random errors when syncing
OAuth services (create repository/organizations).

If a global exception is raised, we just skip this service and
continue with the rest of the connected ones.
@humitos humitos requested a review from a team May 8, 2018 22:59
@humitos humitos added PR: work in progress Pull request is not ready for full review and removed PR: ready for review labels May 9, 2018
@humitos
Copy link
Member Author

humitos commented May 9, 2018

This PR is not really accurate since we need to raise the Exception with the message, which is used to be shown to the user over the PublicTask (I didn't understand this at first look).

@humitos humitos closed this May 9, 2018
@humitos humitos deleted the humitos/services/sync-exception branch May 9, 2018 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: work in progress Pull request is not ready for full review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant