Skip to content

Commit 4b360cc

Browse files
committed
PR comments
1 parent 1b7234d commit 4b360cc

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

dd-trace-core/src/main/java/datadog/trace/core/scopemanager/ContinuableScopeManager.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package datadog.trace.core.scopemanager;
22

33
import static datadog.trace.api.ConfigDefaults.DEFAULT_ASYNC_PROPAGATING;
4+
import static datadog.trace.api.telemetry.LogCollector.SEND_TELEMETRY;
45
import static datadog.trace.bootstrap.instrumentation.api.AgentTracer.noopScope;
56
import static datadog.trace.bootstrap.instrumentation.api.AgentTracer.noopSpan;
67
import static datadog.trace.core.scopemanager.ContinuableScope.CONTEXT;
@@ -249,13 +250,12 @@ public void closePrevious(final boolean finishSpan) {
249250
span.finishWithEndToEnd();
250251
}
251252
} else if (top != null) {
252-
// log.debug(
253-
// SEND_TELEMETRY,
254-
// "Scope found at top of stack has source {} when we expect {}. Current span at the top
255-
// of the stack {}.",
256-
// top,
257-
// ITERATION,
258-
// top.span());
253+
log.debug(
254+
SEND_TELEMETRY,
255+
"Scope found at top of stack has source {} when we expect {}. Current span at the top of the stack {}.",
256+
top.source(),
257+
ITERATION,
258+
top.span());
259259
}
260260
}
261261

0 commit comments

Comments
 (0)