aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ritter <tom@ritter.vg>2020-09-08 00:42:37 -0400
committerTom Ritter <tom@ritter.vg>2020-09-08 00:42:37 -0400
commit96242cfb1f65aa406b5f720478cae2046d7c13b5 (patch)
tree7d30d627f624ca12cf997fd15404480505b509bb
parent8aa8bab7f03e407556482304451f1e277c6285e7 (diff)
Better error logging
-rwxr-xr-xmain.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.py b/main.py
index 9b0d88b..6191fbc 100755
--- a/main.py
+++ b/main.py
@@ -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()