fix():修复gateway异常拦截的时候,整体报错信息

master
Yueng 2024-08-06 21:24:25 +08:00
parent 120173a500
commit a52e2c6e00
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ public class GatewayExceptionHandler implements ErrorWebExceptionHandler {
msg = "内部服务器错误";
}
log.error("[网关异常处理]请求路径:{},异常信息:{}", exchange.getRequest().getPath(), ex.getMessage());
log.error("[网关异常处理]请求路径:{},异常信息:{}", exchange.getRequest().getPath(), ex.getMessage(),ex);
return ServletUtils.webFluxResponseWriter(response, msg);
}