Skip to content

Commit 43307e8

Browse files
committed
minor nitpick
1 parent 79f64c6 commit 43307e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

toolchain/mfc/sched.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def join_first_dead_thread(progress, complete_tracker) -> None:
7272
# (This allows test failures to be handled gracefully by handle_case)
7373
if threadHolder.thread.exc is not None and not threadHolder.thread.completed_successfully:
7474
# Unhandled exception - propagate with full traceback if available
75-
if hasattr(threadHolder.thread, 'exc_info') and threadHolder.thread.exc_info:
75+
if threadHolder.thread.exc_info:
7676
error_msg = f"Worker thread {threadID} failed with unhandled exception:\n{threadHolder.thread.exc_info}"
7777
raise RuntimeError(error_msg) from threadHolder.thread.exc
7878
raise threadHolder.thread.exc

0 commit comments

Comments
 (0)