未验证 提交 4acf0ebc 编写于 作者: Q qiyang 提交者: GitHub

fix: IgnoredTraceContext continue (#4709) (#4710)

Co-authored-by: N亓杨 <qiyang@enmonster.com>
上级 b635e254
......@@ -50,7 +50,7 @@ public class ContextSnapshot {
}
public boolean isFromCurrent() {
return traceSegmentId.equals(ContextManager.capture().getTraceSegmentId());
return traceSegmentId != null && traceSegmentId.equals(ContextManager.capture().getTraceSegmentId());
}
public CorrelationContext getCorrelationContext() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册