Handle error in request
Merge pull request #3 from jan-ruzicka/master

handle error in github repo requests