You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dd-java-agent/instrumentation/opentracing/api-0.31/src/main/java/datadog/trace/instrumentation/opentracing31/OTScopeManager.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -99,9 +99,9 @@ public void close() {
99
99
if (agentSpan == tracer.activeSpan()) {
100
100
tracer.closeActive();
101
101
} elseif (Config.get().isScopeStrictMode()) {
102
-
thrownewRuntimeException("Tried to close scope when not on top");
102
+
thrownewRuntimeException("Tried to close " + agentSpan + " scope when not on top");
103
103
} else {
104
-
log.warn("Tried to close scope when not on top");
104
+
log.warn("Tried to close {} scope when not on top", agentSpan);
Copy file name to clipboardExpand all lines: dd-java-agent/instrumentation/opentracing/api-0.32/src/main/java/datadog/trace/instrumentation/opentracing32/OTScopeManager.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -109,9 +109,9 @@ public void close() {
109
109
if (agentSpan == tracer.activeSpan()) {
110
110
tracer.closeActive();
111
111
} elseif (Config.get().isScopeStrictMode()) {
112
-
thrownewRuntimeException("Tried to close scope when not on top");
112
+
thrownewRuntimeException("Tried to close " + agentSpan + " scope when not on top");
113
113
} else {
114
-
log.warn("Tried to close scope when not on top");
114
+
log.warn("Tried to close {} scope when not on top", agentSpan);
0 commit comments