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

Repository#info might raise an exception since its an API call and needs to be handled. #183

Open
prasadsurase opened this issue Oct 26, 2016 · 0 comments
Labels

Comments

@prasadsurase
Copy link
Contributor

prasadsurase commented Oct 26, 2016

Repository#info calls Github API to get repository information. These might raise any exception like Github::Error::Forbidden incase of rate limit hitting or Github::Error::NotFound if the repository is not found. Since this method is used in UserReposJob, where we retrieve and persist the user's repositories, this might crash. Currently in development, in case of any exception, the job fails without warnings, aborting checking and persisting the other retrieved repositories.

Same for Commit#info

@wyhaines wyhaines added the bug label Oct 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants