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/agent-profiling/profiling-ddprof/src/main/java/com/datadog/profiling/ddprof/DatadogProfiler.java
+17-5Lines changed: 17 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -329,7 +329,7 @@ public void setSpanContext(long spanId, long rootSpanId) {
329
329
debugLogging(rootSpanId);
330
330
try {
331
331
profiler.setContext(spanId, rootSpanId);
332
-
} catch (IllegalStateExceptione) {
332
+
} catch (Throwablee) {
333
333
log.debug("Failed to clear context", e);
334
334
}
335
335
}
@@ -338,22 +338,30 @@ public void clearSpanContext() {
0 commit comments