From bb1985773fd2093c10d5c9542c3f5b058122f9c5 Mon Sep 17 00:00:00 2001 From: Xavier Robin <xavier.robin@unibas.ch> Date: Tue, 20 Aug 2024 13:49:19 +0200 Subject: [PATCH] fix: restore traceback --- actions/ost-compare-structures | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/ost-compare-structures b/actions/ost-compare-structures index a93452aae..f3ec56cb6 100644 --- a/actions/ost-compare-structures +++ b/actions/ost-compare-structures @@ -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: -- GitLab