Skip to content

Commit f669002

Browse files
committed
workspace/builder(fix[logging]): Preserve exception traceback in readiness check
why: The except block in _wait_for_pane_ready discarded the exception traceback, making it impossible to diagnose pane refresh failures. what: - Add exc_info=True to logger.debug call in the except block
1 parent 8db8479 commit f669002

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tmuxp/workspace/builder.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ def _wait_for_pane_ready(
6363
except Exception:
6464
logger.debug(
6565
"pane refresh failed during readiness check",
66+
exc_info=True,
6667
extra={"tmux_pane": str(pane.pane_id)},
6768
)
6869
return False

0 commit comments

Comments
 (0)