提交 b5b088ac 编写于 作者: 于玉桔 提交者: wu-sheng

Gateway compatible with downstream loss (#3445)

上级 96b2baad
......@@ -58,7 +58,11 @@ public class AbstractServerResponseMethodInterceptor implements InstanceMethodsA
}
Tags.STATUS_CODE.set(span, Integer.toString(status.value()));
}
ContextManager.stopSpan(span);
if (ContextManager.isActive()) {
ContextManager.stopSpan(span);
} else {
span.asyncFinish();
}
((EnhancedInstance) allArguments[0]).setSkyWalkingDynamicField(null);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册