import * as Sentry from '@sentry/nextjs'; Sentry.init({ dsn: process.env.NEXT_PUBLIC_SENTRY_DSN, environment: process.env.NODE_ENV, tracesSampleRate: process.env.NODE_ENV === 'production' ? 0.1 : 1.0, debug: false, replaysOnErrorSampleRate: 1.0, replaysSessionSampleRate: 0.1, integrations: [ Sentry.replayIntegration({ maskAllText: true, blockAllMedia: true, }), ], });