Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,9 @@ public Scope attach(Context toAttach) {
public Context current() {
return contextStorage.current();
}

@Override
public Context root() {
return SentryContextWrapper.wrap(ContextStorage.super.root());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public <V> Context with(final @NotNull ContextKey<V> contextKey, V v) {
if (isOpentelemetrySpan(contextKey)) {
return forkCurrentScope(modifiedContext);
} else {
return modifiedContext;
return new SentryContextWrapper(modifiedContext);
}
}

Expand Down
Loading