error handling to address bad responses from github api