summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()