From 6f95c37ee2dd80f758331f96602e5533c3d45f35 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Feb 06 2020 15:40:38 +0000 Subject: Print the stacktrace when catching an exception This will help figuring out where things went wrong. Signed-off-by: Pierre-Yves Chibon --- diff --git a/runner.py b/runner.py index cb5fe2f..a4f69cd 100644 --- a/runner.py +++ b/runner.py @@ -98,6 +98,7 @@ def schedule(conf): print("Tests finished:", datetime.datetime.utcnow()) except Exception as err: print(f"Tests failed with: {err}") + print(sys.exc_info()[0]) print(f"Next run in: {delay} seconds") s.enter(delay, 1, schedule, argument=(conf,))