Fix logging output.
Catch bad responses from github api.