Fix initialize McpError fallthrough 🤖 Generated with Codex (#3413)

This commit is contained in:
Jeremiah Lowin 2026-03-06 17:31:19 -05:00 committed by GitHub
commit 56b165537f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -144,6 +144,7 @@ class MiddlewareServerSession(ServerSession):
"Cannot send error response as response was already sent.",
exc_info=e,
)
return None
# Fall through to default handling (task methods now handled via registered handlers)
return await super()._received_request(responder)