Added error handling

As requested in [this comment](https://github.com/IonicaBizau/cli-github/issues/1#issuecomment-66109329).