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 e62f6db commit 7768b80Copy full SHA for 7768b80
CHANGELOG.md
@@ -12,9 +12,8 @@
12
SentryAndroid.init(context) { options ->
13
options.sessionReplay.beforeErrorSampling =
14
SentryReplayOptions.BeforeErrorSamplingCallback { event, hint ->
15
- // Skip replay for handled exceptions
16
- val hasUnhandled = event.exceptions?.any { it.mechanism?.isHandled == false } == true
17
- hasUnhandled
+ // Only capture replay for crashes (excluding e.g. handled exceptions)
+ event.isCrashed
18
}
19
20
```
0 commit comments