Prevent replay being recorded but log error #11155
-
We have certain errors that we need to know about but that are generating a large number of replays (and are not UI related). Is there a way to do something like the regex based ignoreErrors but only to prevent replays being recorded? The ignore option in the replay config appears to be related to fields, not errors and I'm struggling to find an other config options that look like they would allow this. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Take a look at
|
Beta Was this translation helpful? Give feedback.
Take a look at
beforeErrorSampling
: https://docs.sentry.io/platforms/javascript/session-replay/configuration/