aboutsummaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rwxr-xr-xmain.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.py b/main.py
index 30c285f..461a864 100755
--- a/main.py
+++ b/main.py
@@ -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()