|
@@ -30,11 +30,11 @@ public class GlobalDefaultExceptionHandler {
|
|
|
|
|
|
if(ex instanceof RemoteServiceException){
|
|
|
//自定义错误就不抛出栈异常
|
|
|
- //log.error("网络异常:",ex);
|
|
|
+ log.error("网络异常:",ex);
|
|
|
log.error("网络异常:"+ex+req.getRequestURI()+JSONObject.toJSONString(this.bodyParam(req)));
|
|
|
return ResponseHelper.error(((RemoteServiceException) ex).getCode(),"温馨提示:"+ex.getMessage());
|
|
|
}
|
|
|
-
|
|
|
+ log.error("网络异常:",ex);
|
|
|
log.error("系统错误:"+ex+req.getRequestURI()+JSONObject.toJSONString(this.bodyParam(req)),ex);
|
|
|
return ResponseHelper.error(501,"系统出小差了,请稍后再试");
|
|
|
}
|