add some methods about issue to githubAPI
add error-handling to github api