feature(githubRequest): Add error handling in githubRequest.js