diff options
author | Tom <tom@ritter.vg> | 2016-09-14 12:01:34 -0500 |
---|---|---|
committer | Tom <tom@ritter.vg> | 2016-09-14 12:01:34 -0500 |
commit | 148cb0c5ab5e1eb94091e18110fbaad7c572660c (patch) | |
tree | cef6538de9c8286eba74ec203c7945167ed8f454 | |
parent | a90d07cfb3923a38edcb3fc1f8b61ad750f72a9b (diff) |
Log exceptions during run.
-rwxr-xr-x | main.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -77,5 +77,6 @@ if __name__ == "__main__": jobManager.mark_jobs_ran() else: jobManager.mark_jobs_ran_with_error() - except: + except Exception as e: + logging.critical("Caught an exception trying to execute jobs:" + str(e)) jobManager.mark_jobs_ran_with_error() |