流量统计-统计页面错误提示信息修改

This commit is contained in:
shangguanyanfei
2019-06-27 10:33:17 +08:00
parent fe24ba0fc6
commit 6e646d83e5
10 changed files with 142 additions and 39 deletions

View File

@@ -86,7 +86,10 @@ public class HttpClientUtil {
throw new ConnectException("流量统计服务接口连接错误"+response);
}
} catch (Exception e) {
throw e;
// e.printStackTrace();
logger.error("获取消息失败,相应内容如下: " + response);
logger.error("获取消息失败 ", e);
throw new MaatConvertException("<spring:message code=\"request_service_failed\"/>:");
}finally {
if (response != null) {
try {