Add option to print entire Python traceback
Signed-off-by: AKU <tom@tdpain.net>
This commit is contained in:
parent
d9bf8b7b09
commit
3a1554ecfc
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue