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
The Next.js SDK crashes when run on the Vercel Edge Runtime. We have the means to check whether the SDK runs inside that runtime, so we can simply disable the SDK if that is the case.
Solution Brainstorm
As suggested by members of Vercel we could do a check like typeof EdgeRuntime !== "string" and just don't init.
The text was updated successfully, but these errors were encountered:
@heldr Until we release the automatic fix for this use can use the excludeServerRoutes option to exclude vercel edge runtime routes from being instrumented with Sentry.
Problem Statement
The Next.js SDK crashes when run on the Vercel Edge Runtime. We have the means to check whether the SDK runs inside that runtime, so we can simply disable the SDK if that is the case.
Solution Brainstorm
As suggested by members of Vercel we could do a check like
typeof EdgeRuntime !== "string"
and just don't init.The text was updated successfully, but these errors were encountered: