diff --git a/scripts/ci/check_compliance.py b/scripts/ci/check_compliance.py index 8a12f6f2d0e..a647781e5ec 100755 --- a/scripts/ci/check_compliance.py +++ b/scripts/ci/check_compliance.py @@ -2195,6 +2195,8 @@ def _main(args): test.run() except EndTest: pass + except BaseException: + test.failure(f"An exception occurred in {test.name}:\n{traceback.format_exc()}") # Annotate if required if args.annotate: