mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-03 07:23:33 +00:00
chore(mcp): document cancellation error boundary
This commit is contained in:
parent
e149165aa6
commit
392afc7056
1 changed files with 1 additions and 2 deletions
|
|
@ -170,8 +170,7 @@ async def cleanup_cancelled_call(data: Mapping[str, object], caller: UserAPIKeyA
|
|||
user_api_key_dict=caller,
|
||||
route="/mcp/call_tool",
|
||||
)
|
||||
except Exception:
|
||||
# A callback failure must not replace the client's cancellation.
|
||||
except Exception: # noqa: BLE001 # Callback failures must not replace cancellation.
|
||||
verbose_proxy_logger.error("MCP code cancellation cleanup failed")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue