eat errors for failing to parse @commit
This commit is contained in:
parent
e50290046a
commit
11ade023e8
1 changed files with 5 additions and 1 deletions
|
@ -105,7 +105,11 @@ class Module(ModuleManager.BaseModule):
|
||||||
event.eat()
|
event.eat()
|
||||||
ref = event["match"].group(0)
|
ref = event["match"].group(0)
|
||||||
if self._auto_github_cooldown(event["target"], ref):
|
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:
|
if out:
|
||||||
event["stdout"].write(out)
|
event["stdout"].write(out)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue