File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
sentry/src/main/java/io/sentry/logger Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -213,12 +213,12 @@ private void captureLog(
213
213
new SentryLogEventAttributeValue (SentryAttributeType .STRING , environment ));
214
214
}
215
215
216
- final @ Nullable SentryId replayId = scopes .getScope ().getReplayId ();
216
+ final @ Nullable SentryId replayId = scopes .getCombinedScopeView ().getReplayId ();
217
217
if (!replayId .equals (SentryId .EMPTY_ID )) {
218
218
attributes .put (
219
219
"sentry.replay_id" ,
220
220
new SentryLogEventAttributeValue (SentryAttributeType .STRING , replayId .toString ()));
221
- if (scopes .getScope ().getReplayType () == SentryReplayEvent .ReplayType .BUFFER ) {
221
+ if (scopes .getCombinedScopeView ().getReplayType () == SentryReplayEvent .ReplayType .BUFFER ) {
222
222
attributes .put (
223
223
"sentry._internal.replay_is_buffering" ,
224
224
new SentryLogEventAttributeValue (SentryAttributeType .BOOLEAN , true ));
You can’t perform that action at this time.
0 commit comments