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(
213213 new SentryLogEventAttributeValue (SentryAttributeType .STRING , environment ));
214214 }
215215
216- final @ Nullable SentryId replayId = scopes .getScope ().getReplayId ();
216+ final @ Nullable SentryId replayId = scopes .getCombinedScopeView ().getReplayId ();
217217 if (!replayId .equals (SentryId .EMPTY_ID )) {
218218 attributes .put (
219219 "sentry.replay_id" ,
220220 new SentryLogEventAttributeValue (SentryAttributeType .STRING , replayId .toString ()));
221- if (scopes .getScope ().getReplayType () == SentryReplayEvent .ReplayType .BUFFER ) {
221+ if (scopes .getCombinedScopeView ().getReplayType () == SentryReplayEvent .ReplayType .BUFFER ) {
222222 attributes .put (
223223 "sentry._internal.replay_is_buffering" ,
224224 new SentryLogEventAttributeValue (SentryAttributeType .BOOLEAN , true ));
You can’t perform that action at this time.
0 commit comments