Skip to content

Commit 10036ef

Browse files
committed
fix
1 parent 9961e6e commit 10036ef

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

toolchain/mfc/sched.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,7 @@ def join_first_dead_thread(progress, complete_tracker) -> None:
6868
f"This may indicate a system threading issue or hung test case.") from join_exc
6969

7070
# Check for and propagate any exceptions that occurred in the worker thread
71-
# But only if the worker function didn't complete successfully
72-
# (This allows test failures to be handled gracefully by handle_case)
73-
if threadHolder.thread.exc is not None and not threadHolder.thread.completed_successfully:
71+
if threadHolder.thread.exc is not None:
7472
# Unhandled exception - propagate with full traceback if available
7573
if threadHolder.thread.exc_info:
7674
error_msg = f"Worker thread {threadID} failed with unhandled exception:\n{threadHolder.thread.exc_info}"

0 commit comments

Comments
 (0)