perf(client): drop unused Sentry session-replay SDK from the client bundle

This commit is contained in:
openhands committed 2026-08-01 18:18:53 +02:00
1 parent fd8ab7db93
commit 2799b63943
1 file changed
-8
-8
View File
@@ -9,15 +9,7 @@ if (dsn) {
environment: process.env.NODE_ENV,
release: process.env.NEXT_PUBLIC_APP_VERSION || process.env.APP_VERSION,
tracesSampleRate: process.env.NODE_ENV === "production" ? 0.1 : 1.0,
replaysSessionSampleRate: 0,
replaysOnErrorSampleRate: 1.0,
enabled: process.env.NODE_ENV === "production",
integrations: [
Sentry.replayIntegration({
maskAllText: true,
blockAllMedia: true,
}),
],
beforeSend: redactSentryEvent,
});
}