adding error handling to github api requests when gituhb is down