Raise error if any request to github returns an error