fix: sentry replay masking

This commit is contained in:
Torsten Dittmann
2024-06-26 14:13:45 +02:00
parent 1a35189155
commit 859f09390c

View File

@@ -17,7 +17,11 @@ Sentry.init({
replaysOnErrorSampleRate: 1.0,
// If you don't want to use Session Replay, just remove the line below:
integrations: [replayIntegration()]
integrations: [replayIntegration({
maskAllInputs: true,
maskAllText: false,
blockAllMedia: false,
})]
});
// If you have a custom error handler, pass it to `handleErrorWithSentry`