We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79f64c6 commit 43307e8Copy full SHA for 43307e8
toolchain/mfc/sched.py
@@ -72,7 +72,7 @@ def join_first_dead_thread(progress, complete_tracker) -> None:
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:
74
# Unhandled exception - propagate with full traceback if available
75
- if hasattr(threadHolder.thread, 'exc_info') and threadHolder.thread.exc_info:
+ if threadHolder.thread.exc_info:
76
error_msg = f"Worker thread {threadID} failed with unhandled exception:\n{threadHolder.thread.exc_info}"
77
raise RuntimeError(error_msg) from threadHolder.thread.exc
78
raise threadHolder.thread.exc
0 commit comments