Error handling GitHub repo without tags
ebariaux opened this issue · 0 comments
ebariaux commented
Install fails for a dependency where the GitHub repository does not have any tag at all.
This was experienced with following bower dependency: 'PolymerElements/paper-ripple'('^1.0.10')
Reported error is Caused by: org.gradle.api.GradleException: Could not authorize https://api.github.com/repos/virtyaluk/paper-ripple/git/refs/tags
This is thrown from GithubResolver.openConnection() method, as this URL does not exist. Maybe 404 must be caught and handled accordingly so an empty collection of tags is returned in the afterInfoLoad() method.
Thanks