File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 11// This file configures the initialization of Sentry on the client.
22// The config you add here will be used whenever a users loads a page in their browser.
33// https://docs.sentry.io/platforms/javascript/guides/nextjs/
4- import { CaptureConsole } from '@sentry/integrations' ;
4+ import { captureConsoleIntegration } from '@sentry/integrations' ;
55import * as Sentry from '@sentry/nextjs' ;
66
77Sentry . init ( {
@@ -21,12 +21,9 @@ Sentry.init({
2121
2222 // You can remove this option if you're not planning to use the Sentry Session Replay feature:
2323 integrations : [
24- new CaptureConsole ( {
24+ captureConsoleIntegration ( {
2525 levels : [ 'error' ] ,
2626 } ) ,
27- new Sentry . Replay ( {
28- // Additional Replay configuration goes in here, for example:
29- maskAllText : true ,
30- } ) ,
27+ Sentry . replayIntegration ( ) ,
3128 ] ,
3229} ) ;
You can’t perform that action at this time.
0 commit comments