File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
sentry/src/main/java/io/sentry/logger Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -212,15 +212,15 @@ private void captureLog(
212212 new SentryLogEventAttributeValue (SentryAttributeType .STRING , environment ));
213213 }
214214
215- final @ Nullable SentryId scopeReplayId = scopes .getCombinedScopeView ().getReplayId ();
216- if (!scopeReplayId . equals ( SentryId .EMPTY_ID )) {
215+ final @ NotNull SentryId scopeReplayId = scopes .getCombinedScopeView ().getReplayId ();
216+ if (!SentryId .EMPTY_ID . equals ( scopeReplayId )) {
217217 attributes .put (
218218 "sentry.replay_id" ,
219219 new SentryLogEventAttributeValue (SentryAttributeType .STRING , scopeReplayId .toString ()));
220220 } else {
221- final @ Nullable SentryId controllerReplayId =
221+ final @ NotNull SentryId controllerReplayId =
222222 scopes .getOptions ().getReplayController ().getReplayId ();
223- if (!controllerReplayId . equals ( SentryId .EMPTY_ID )) {
223+ if (!SentryId .EMPTY_ID . equals ( controllerReplayId )) {
224224 attributes .put (
225225 "sentry.replay_id" ,
226226 new SentryLogEventAttributeValue (
You can’t perform that action at this time.
0 commit comments