Skip to content

Remove default MCP transport error handler#26

Merged
agtraveso merged 1 commit intomainfrom
feat/mcp-error-handling
Mar 17, 2026
Merged

Remove default MCP transport error handler#26
agtraveso merged 1 commit intomainfrom
feat/mcp-error-handling

Conversation

@agtraveso
Copy link
Contributor

Let consuming projects decide how to handle transport errors by not setting server.onerror by default. They can assign server.onerror after instantiation if they need custom handling (logging, etc)

Let consuming projects decide how to handle transport errors by not
setting server.onerror by default. They can assign server.onerror
after instantiation if they need custom handling (logging, Sentry, etc).

Made-with: Cursor
@agtraveso agtraveso requested a review from a team as a code owner March 17, 2026 09:11
@agtraveso agtraveso requested review from santicastro and sergio-rs and removed request for a team March 17, 2026 09:11
@marcos-muino-garcia marcos-muino-garcia self-requested a review March 17, 2026 09:15
@agtraveso agtraveso merged commit 3b21a0d into main Mar 17, 2026
1 check passed
@agtraveso agtraveso deleted the feat/mcp-error-handling branch March 17, 2026 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants