1.x
tanghc 5 years ago
parent ef08956df6
commit aa1a537f22
  1. 2
      sop-common/sop-gateway-common/src/main/java/com/gitee/sop/gatewaycommon/zuul/configuration/ZuulErrorController.java

@ -40,7 +40,7 @@ public class ZuulErrorController implements ErrorController {
if (throwable == null) {
throwable = (Throwable) request.getAttribute("javax.servlet.error.exception");
}
log.error("请求错误,params:{}", ZuulContext.getApiParam(), throwable);
log.error("请求错误,URL:{}, params:{}",request.getRequestURL().toString(), ZuulContext.getApiParam(), throwable);
return this.buildResult(throwable);
}

Loading…
Cancel
Save