Skip to content

Commit a214544

Browse files
style(qa): 스레드 맥락 fetch 경고 로그를 lazy % 포맷으로
리뷰 반영: f-string 대신 logger.warning("...: %s", e) 로 변경해 다른 로깅 스타일과 통일. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent be1690b commit a214544

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/handler/bigchat/question_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def _fetch_thread_context(self) -> str:
8585
channel=self.channel, thread_ts=self.thread_ts
8686
)
8787
except Exception as e: # noqa: BLE001
88-
logger.warning(f"Failed to fetch thread context: {e}")
88+
logger.warning("Failed to fetch thread context: %s", e)
8989
return ""
9090

9191
lines = []

0 commit comments

Comments
 (0)