Skip to content

Commit e3cdbfa

Browse files
authored
Change example usage from Java to Kotlin
Updated example usage in CHANGELOG to use Kotlin.
1 parent 7768b80 commit e3cdbfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
- Allows filtering which errors trigger replay capture before the `onErrorSampleRate` is checked
99
- Returning `false` skips replay capture entirely for that error; returning `true` proceeds with the normal sample rate check
1010
- Example usage:
11-
```java
11+
```kotlin
1212
SentryAndroid.init(context) { options ->
1313
options.sessionReplay.beforeErrorSampling =
1414
SentryReplayOptions.BeforeErrorSamplingCallback { event, hint ->

0 commit comments

Comments
 (0)