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

This commit is contained in:
zhangxin10 2015-12-23 08:03:40 +08:00
parent c7cac618af
commit 0573841923
2 changed files with 4 additions and 1 deletions

View File

@ -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());
}

View File

@ -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}