Commit 84eb7ad
committed
mcp(fix[_utils]): Log unexpected errors in handle_tool_errors
why: Generic exceptions were re-raised as ToolError without logging,
making it impossible to diagnose unexpected errors in server logs.
what:
- Add logger.exception() before re-raising generic Exception as ToolError1 parent 5955533 commit 84eb7ad
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
| 390 | + | |
390 | 391 | | |
391 | 392 | | |
392 | 393 | | |
| |||
0 commit comments