From aa1a537f227e4ab1121a4cee7f53d372f0be89d0 Mon Sep 17 00:00:00 2001 From: tanghc Date: Fri, 30 Aug 2019 18:32:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../gatewaycommon/zuul/configuration/ZuulErrorController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sop-common/sop-gateway-common/src/main/java/com/gitee/sop/gatewaycommon/zuul/configuration/ZuulErrorController.java b/sop-common/sop-gateway-common/src/main/java/com/gitee/sop/gatewaycommon/zuul/configuration/ZuulErrorController.java index 6d50a6e0..e411f6f9 100644 --- a/sop-common/sop-gateway-common/src/main/java/com/gitee/sop/gatewaycommon/zuul/configuration/ZuulErrorController.java +++ b/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); }