Skip to content
Snippets Groups Projects
Verified Commit bb198577 authored by Xavier Robin's avatar Xavier Robin
Browse files

fix: restore traceback

parent 3575123c
No related branches found
No related tags found
No related merge requests found
......@@ -971,7 +971,7 @@ def _Main():
except Exception as exc:
out = dict()
out["status"] = "FAILURE"
out["traceback"] = traceback.format_exc()
out["traceback"] = traceback.format_exc(limit=1000)
etype, evalue, tb = sys.exc_info()
out["exception"] = " ".join(traceback.format_exception_only(etype, evalue))
with open(args.output, 'w') as fh:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment