Skip to content

Commit

Permalink
fix: cocoa sdk renamed errorSampleRate to onErrorSampleRate
Browse files Browse the repository at this point in the history
  • Loading branch information
vaind committed Aug 13, 2024
1 parent e2b92c4 commit 71c0710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flutter/ios/Classes/SentryFlutter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public final class SentryFlutter {
if let replayOptions = data["replay"] as? [String: Any] {
options.experimental.sessionReplay.sessionSampleRate =
(replayOptions["sessionSampleRate"] as? NSNumber)?.floatValue ?? 0
options.experimental.sessionReplay.errorSampleRate =
options.experimental.sessionReplay.onErrorSampleRate =
(replayOptions["errorSampleRate"] as? NSNumber)?.floatValue ?? 0
}
#endif
Expand Down

0 comments on commit 71c0710

Please sign in to comment.