dogsheep / github-to-sqlite

Save data from GitHub to a SQLite database
https://github-to-sqlite.dogsheep.net/
Apache License 2.0
405 stars 43 forks source link

Handle empty git repositories #22

Closed simonw closed 4 years ago

simonw commented 4 years ago

Got this error:

github_to_sqlite.utils.GitHubError: {'message': 'Git Repository is empty.', 'documentation_url': 'https://developer.github.com/v3/repos/commits/#list-commits-on-a-repository'}

From https://api.github.com/repos/dogsheep/beta/commits