aboutsummaryrefslogtreecommitdiff
path: root/modules/github.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/github.py')
-rw-r--r--modules/github.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/github.py b/modules/github.py
index 62b7cdc9..c5e9b18e 100644
--- a/modules/github.py
+++ b/modules/github.py
@@ -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)