diff options
author | Tom Ritter <tom@ritter.vg> | 2020-09-08 00:42:37 -0400 |
---|---|---|
committer | Tom Ritter <tom@ritter.vg> | 2020-09-08 00:42:37 -0400 |
commit | 96242cfb1f65aa406b5f720478cae2046d7c13b5 (patch) | |
tree | 7d30d627f624ca12cf997fd15404480505b509bb | |
parent | 8aa8bab7f03e407556482304451f1e277c6285e7 (diff) |
Better error logging
-rwxr-xr-x | main.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -105,5 +105,6 @@ if __name__ == "__main__": else: jobManager.mark_jobs_ran_with_error() except Exception as e: - logging.critical("Caught an exception trying to execute jobs:" + str(e)) + logging.critical("Caught an exception trying to execute jobs:" + repr(e)) + logging.critical(logging.traceback.format_exc()) jobManager.mark_jobs_ran_with_error() |