eat errors for failing to parse @commit

This commit is contained in:
jesopo 2019-10-14 14:03:47 +01:00
parent e50290046a
commit 11ade023e8

View file

@ -105,7 +105,11 @@ class Module(ModuleManager.BaseModule):
event.eat()
ref = event["match"].group(0)
if self._auto_github_cooldown(event["target"], ref):
out = self._parse_commit(event["target"], ref)
try:
out = self._parse_commit(event["target"], ref)
except utils.EventError:
return
if out:
event["stdout"].write(out)