提交 05738419 编写于 作者: Z zhangxin10

1.修复异常信息显示问题。Dubbo的客户端没有异常信息,但Dubbo的服务端的有异常信息。应判断客户端有没有异常信息,要是没有,则将服务端的异常信息给添加上。

上级 c7cac618
......@@ -97,6 +97,9 @@ public class BuriedPointSDAO implements IBuriedPointSDAO {
clientLog.setViewPointId(serverLog.getViewPointId());
clientLog.setViewPointIdSub(serverLog.getViewPointIdSub());
clientLog.setAddress(serverLog.getAddress());
if (StringUtil.isBlank(clientLog.getExceptionStack())){
clientLog.setExceptionStack(serverLog.getExceptionStack());
}
}
logVO.addTimeLine(rpcVO.getValue().getStartDate(), rpcVO.getValue().getCost());
}
......
......@@ -264,7 +264,7 @@
<li class="list-group-item"><strong>主机信息:</strong>${logInfo.address!}</li>
<li class="list-group-item"><strong>调用进程号:</strong>${logInfo.processNo!}</li>
<li class="list-group-item"><strong>异常堆栈:</strong>
<#if logInfo.statusCode == 0>
<#if (logInfo.exceptionStack!)?length == 0>
<#else>
${logInfo.exceptionStack}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册