Commit d02d331
committed
fix: add pragma no-cover to defensive except-Exception fallback
The except-Exception block in _handle_call_tool is now a defensive
catch-all: Tool.run() wraps all non-ToolError exceptions in ToolError,
so this path is only reachable if call_tool is overridden by a subclass.
This matches the existing pragma pattern used throughout the file.1 parent cc004da commit d02d331
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
319 | | - | |
| 319 | + | |
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
| |||
0 commit comments