maubot / gitlab

A GitLab client and webhook receiver for maubot.
GNU Affero General Public License v3.0
95 stars 30 forks source link

KeyError: 'Deployment Hook' #45

Open Daddelhai opened 3 years ago

Daddelhai commented 3 years ago

Following error occurs sometimes (probably when receiving a gitlab hook):

Failed to handle Gitlab event
Traceback (most recent call last):
  File "/home/service/maubot/plugins/xyz.maubot.gitlab-v0.1.0.mbp/gitlab_matrix/bot.py", line 121, in process_hook
    evt = EventParse[req.headers["X-Gitlab-Event"]].deserialize(body)
KeyError: 'Deployment Hook'