Skip to content

Provide Next.js SDK users with a way to opt out certain routes to use different runtimes #6119

Closed
@lforst

Description

@lforst

Vercel allows users to use the Vercel Edge runtime for individual Next.js API routes.

Example:

export const config = {
  runtime: "experimental-edge",
};

export default (req) => new Response("Hello world!");

Our Next.js SDK breaks (i.e. crashes a route) when ran on this runtime. We should provide users with a way to opt out certain routes of being initialized with the Sentry SDK so that users can use the Edge runtime without their apps crashing.

Metadata

Metadata

Assignees

Labels

Package: nextjsIssues related to the Sentry Nextjs SDK

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions