Add option to print entire Python traceback

Signed-off-by: AKU <tom@tdpain.net>
This commit is contained in:
akp 2021-12-20 10:55:16 +00:00
parent d9bf8b7b09
commit 3a1554ecfc
No known key found for this signature in database
GPG key ID: AA5726202C8879B7

View file

@ -38,6 +38,7 @@ while True:
res = run()
except Exception as e:
err = f"{type(e)}: {e}"
# err = f"{type(e)}: {e}\n{''.join(traceback.format_tb(e.__traceback__))}"
end_time = time.time()
running_time = end_time-start_time