Closed
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/nextjs
SDK Version
"@sentry/nextjs": "^7.67.0-beta.0",
Framework Version
No response
Link to Sentry event
No response
SDK Setup
No response
Steps to Reproduce
- Next JS app dir ("next": "^13.4.7")
- Upgrade to the latest beta version (7.67.0-beta.0), this doesn't occur in 7.66.0, its might have been introduced in feat(nextjs): Add route handler instrumentation #8832
- Run app
- View console errors
Expected Result
No error logs in the console
Actual Result
Logs for every api route.
- error Detected default export in '/Users/tedmarozzi/Code/mermaid-flow/app/api/credits/route.ts'. Export a named export for each HTTP method instead.
- error Detected default export in '/Users/tedmarozzi/Code/mermaid-flow/app/api/auth/[...nextauth]/route.ts'. Export a named export for each HTTP method instead.
Metadata
Metadata
Assignees
Type
Projects
Status
Waiting for: Product Owner
Status
No status