File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -429,16 +429,12 @@ export default withSentryConfig(
429
429
430
430
// Automatically annotate React components to show their full name in breadcrumbs and session replay
431
431
reactComponentAnnotation : {
432
- enabled : false ,
432
+ enabled : true ,
433
+ // ignore the "Canvas" component to avoid Sentry annotations
434
+ // conflicts with react-three-fiber
435
+ ignoredComponents : [ 'Canvas' ] ,
433
436
} ,
434
437
435
- // TODO: enable as soon as @sentry /nextjs supports it
436
- // (and set the above reactComponentAnnotation to true)
437
- // https://github.com/getsentry/sentry-javascript/releases
438
- // ignore the "Canvas" component to avoid Sentry annotations
439
- // conflicts with react-three-fiber
440
- //ignoredComponents: ['Canvas'],
441
-
442
438
// Route browser requests to Sentry through a Next.js rewrite to circumvent ad-blockers.
443
439
// This can increase your server load as well as your hosting bill.
444
440
// Note: Check that the configured route will not match with your Next.js middleware, otherwise reporting of client-
You can’t perform that action at this time.
0 commit comments