Disable replay integration

This commit is contained in:
Jade Ellis
2024-09-10 01:30:40 +01:00
parent 392f7c88c1
commit c5b3db5735
+2 -2
View File
@@ -1,5 +1,5 @@
import { SENTRY_DSN } from '$lib/config';
import { init as initSentry, handleErrorWithSentry, makeBrowserOfflineTransport, makeFetchTransport, replayIntegration } from '@sentry/sveltekit';
import { init as initSentry, handleErrorWithSentry, makeBrowserOfflineTransport, makeFetchTransport } from '@sentry/sveltekit';
initSentry({
dsn: SENTRY_DSN,
@@ -15,7 +15,7 @@ initSentry({
replaysOnErrorSampleRate: 1.0,
// If you don't want to use Session Replay, just remove the line below:
integrations: [replayIntegration()],
// integrations: [replayIntegration()],
// To enable offline events caching, use makeBrowserOfflineTransport to wrap
// existing transports and queue events using the browsers' IndexedDB storage