Skip to content

Commit 8d0877b

Browse files
committed
Log error to ease debugging the problem
1 parent 4f7ee91 commit 8d0877b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

utest/run.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ def run_unit_tests(reporter, reporter_args, suite, verbose):
3939
py_args.insert(1, f"--approvaltests-add-reporter-args={reporter_args}")
4040
try:
4141
result = py_main(py_args)
42-
except Exception:
42+
except Exception as error:
43+
print(f"Suppressed error: {error}")
4344
result = 254
4445
finally:
4546
sys.path.pop(0)

0 commit comments

Comments
 (0)