Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle secondary rate limits that show up as "plain exceptions"
We previously handled secondary rate limit errors, however, it turns out that we aren't getting the exception type that we were seeing then for all secondary rate limits. This PR updates to handle the generic "GitHubException" that PyGitHub uses. If we get the more generic error and it contains a secondary rate limit message from GitHub, we will handle with our usual "wait and try again" strategy.
- Loading branch information