Fix typo, improve error handling
Fix typo, improve error handling

lacek/redmine_github_hook,koppen/redmine_github_hook,koppen/redmine_github_hook,lacek/redmine_github_hook,pinghe/redmine_github_hook,pinghe/redmine_github_hook