Skip to content

Commit df72c84

Browse files
committed
fix(logging[util]): remove redundant exc_info from pane lookup reraise
why: The raise...from e chain on the next lines already preserves the exception traceback; logging it too is redundant per project standards. what: - Remove exc_info=True from pane lookup debug log before reraise
1 parent 689b5bc commit df72c84

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/tmuxp/util.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,6 @@ def get_pane(window: Window, current_pane: Pane | None = None) -> Pane:
195195
except Exception as e:
196196
logger.debug(
197197
"pane lookup failed",
198-
exc_info=True,
199198
extra={"tmux_pane": str(current_pane) if current_pane else ""},
200199
)
201200
if current_pane:

0 commit comments

Comments
 (0)