chore(mcp): document cancellation error boundary

This commit is contained in:
moe-berri 2026-10-30 00:58:12 -07:00
parent e149165aa6
commit 392afc7056

View file

@ -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")