Catch Github API exceptions