1- import { PUBLIC_ENVIRONMENT } from '$env/static/public' ;
2- import * as Sentry from '@sentry/sveltekit' ;
3- import { handleErrorWithSentry } from '@sentry/sveltekit' ;
1+ // import { PUBLIC_ENVIRONMENT } from '$env/static/public';
2+ // import * as Sentry from '@sentry/sveltekit';
3+ // import { handleErrorWithSentry } from '@sentry/sveltekit';
44
5- Sentry . init ( {
6- dsn : 'https://485a49edf664c4bad08c2ab0bf87a8eb@o4507622077169664.ingest.de.sentry.io/4507622079660112' ,
7- environment : PUBLIC_ENVIRONMENT ,
8- enabled : PUBLIC_ENVIRONMENT !== "local" ,
9- tracesSampleRate : 1.0 ,
10- // For instance, initialize Session Replay:
11- replaysSessionSampleRate : 0.1 ,
12- replaysOnErrorSampleRate : 1.0 ,
13- integrations : [ Sentry . replayIntegration ( ) ] ,
14- } ) ;
5+ // Sentry.init({
6+ // dsn: 'https://485a49edf664c4bad08c2ab0bf87a8eb@o4507622077169664.ingest.de.sentry.io/4507622079660112',
7+ // environment: PUBLIC_ENVIRONMENT,
8+ // enabled: PUBLIC_ENVIRONMENT !== "local",
9+ // tracesSampleRate: 1.0,
10+ // // For instance, initialize Session Replay:
11+ // replaysSessionSampleRate: 0.1,
12+ // replaysOnErrorSampleRate: 1.0,
13+ // integrations: [Sentry.replayIntegration()],
14+ // });
1515
1616
17- export const handleError = handleErrorWithSentry ( ) ;
17+ // export const handleError = handleErrorWithSentry();
1818// or alternatively, if you don't have a custom error handler:
1919// export const handleError = handleErrorWithSentry();
0 commit comments