We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84f0274 commit 54bcce4Copy full SHA for 54bcce4
CHANGELOG.md
@@ -13,9 +13,8 @@
13
options.sessionReplay.beforeErrorSampling =
14
SentryReplayOptions.BeforeErrorSamplingCallback { event, hint ->
15
// Skip replay for handled exceptions
16
- val dominated = event.exceptions?.lastOrNull()
17
- val isHandled = dominated?.mechanism?.isHandled == true
18
- !isHandled
+ val hasUnhandled = event.exceptions?.any { it.mechanism?.isHandled == false } == true
+ hasUnhandled
19
}
20
21
```
0 commit comments