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 97c3369
Browse filesBrowse the repository at this point in the historyBrowse files
fix(nextjs): Skip init inside a request of @sentry/cloudflare
Next.js calls `register()` inside the first request. When the Worker is
wrapped with `withSentry` from `@sentry/cloudflare`, the server and edge
`init` then installed the OpenTelemetry async context strategy on the storage
of that request, and every later request failed with
`context.getValue is not a function`.
On Cloudflare Workers, `init` now creates no client while a request of
`withSentry` from `@sentry/cloudflare` runs, because that client already
handles the request. The server `init` still adds the global event
processors and the turbopack tag.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments