1.修复异常信息显示问题。Dubbo的客户端没有异常信息,但Dubbo的服务端的有异常信息。应判断客户端有没有异常信息,要是没有,则将服务端的异常信息给添加上。
This commit is contained in:
parent
c7cac618af
commit
0573841923
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in New Issue