Skip to content
Merged
Changes from all 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 @@ -140,7 +140,7 @@ protected SpanAdapter startSendingEventSpan(
Observation parentObservation = getParentObservation(parent);
Tracer.SpanInScope scope = null;
try {
if (parentObservation != observationRegistry.getCurrentObservation()) {
if (parentObservation != null && parentObservation != observationRegistry.getCurrentObservation()) {
// Because Camel allows to close scopes multiple times
TracingObservationHandler.TracingContext tracingContext
= parentObservation.getContextView().get(TracingObservationHandler.TracingContext.class);
Expand Down