You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ec21252
Browse filesBrowse the repository at this point in the historyBrowse files
fix(cloudflare): move Sentry flush from onToolComplete to main handler (#622)
Refactors the Sentry flush approach to use the main OAuth provider
wrapper instead of the onToolComplete callback. This ensures Sentry logs
are flushed for all requests, not just MCP tool executions.
Changes:
- Remove onToolComplete callback from buildServer
- Remove duplicate Sentry.flush after createMcpHandler
- Add Sentry.flush in wrappedOAuthProvider for all requests
- Rename corsWrappedOAuthProvider to wrappedOAuthProvider for brevity
Co-authored-by: Claude Code <noreply@anthropic.com>
0 commit comments