--- a/hooks-queue.py Thu Aug 25 11:40:24 2016 +0800
+++ b/hooks-queue.py Thu Aug 25 11:41:31 2016 +0800
class GithubHookHandler(BaseHookHandler):
- event = self.request.headers.get('X-GitHub-Event')
+ event = self.request.headers.get('X-GitHub-Event', 'nonexistent')
logging.debug('%s received event %r', self.__class__.__name__, event)
getattr(self, 'handle_' + event, self.unknown_event)()