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? If you use the CDN bundles, please specify the exact bundle (e.g. bundle.tracing.min.js
) in your SDK setup.
@sentry/nextjs
SDK Version
7.43.0
Framework Version
13.2.4
Link to Sentry event
No response
SDK Setup
import * as Sentry from '@sentry/nextjs'
Sentry.init({
dsn: process.env.NEXT_PUBLIC_SENTRY_DSN,
environment: process.env.NEXT_PUBLIC_VERCEL_ENV ?? 'development',
tracesSampleRate: 1.0,
beforeSend(event) {
if (event.user) {
// Don't send user's IP address
delete event.user.ip_address
}
return event
},
ignoreErrors: []
})
Steps to Reproduce
Having configured:
export const config = {
runtime: 'experimental-edge'
}
On any given page seems to make sentry crash on build time.
Expected Result
To not crash on build.
Actual Result
Metadata
Metadata
Assignees
Type
Projects
Status
No status