diff options
| author | 2019-10-14 14:03:47 +0100 | |
|---|---|---|
| committer | 2019-10-14 14:03:47 +0100 | |
| commit | 11ade023e84b712cdcd496cd5ad4408ebfff272d (patch) | |
| tree | 71f65b9ac7b32f120559ea71a0eef52d5f0bbe3f /modules | |
| parent | remove `safe` arg from ModuleManager.load_modules() - try_reload_modules cove... (diff) | |
| signature | ||
eat errors for failing to parse @commit
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/github.py | 6 |
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) |
