Last active
October 29, 2019 20:41
-
-
Save lyw07/57233b6cdc52e8b2645a450a83268881 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/iceqube/worker.py b/src/iceqube/worker.py | |
| index 4a907f4..3341883 100644 | |
| --- a/src/iceqube/worker.py | |
| +++ b/src/iceqube/worker.py | |
| @@ -65,6 +65,8 @@ class Worker(object): | |
| self.report_cancelled(job.job_id) | |
| return | |
| except Exception as e: | |
| + from sentry_sdk import capture_exception | |
| + capture_exception(e) | |
| self.report_error(job.job_id, e, e.traceback) | |
| return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment