fix for all api errors
Merge pull request #16 from stagas/fix-all-errors

Handle any github api error