This commit is contained in:
tanghc
2020-04-07 10:32:12 +08:00
parent 53a995a5c5
commit 7b8899abec

View File

@@ -130,7 +130,9 @@ public class IndexFilter implements WebFilter {
validator.validate(apiParam); validator.validate(apiParam);
this.afterValidate(exchange, apiParam); this.afterValidate(exchange, apiParam);
} catch (ApiException e) { } catch (ApiException e) {
log.error("验证失败ip:{}, params:{}, errorMsg:{}", apiParam.fetchIp(), apiParam.toJSONString(), e.getMessage()); log.error("验证失败,url:{}, ip:{}, params:{}, errorMsg:{}",
exchange.getRequest().getURI().toString(),
apiParam.fetchIp(), apiParam.toJSONString(), e.getMessage());
ServerWebExchangeUtil.setThrowable(exchange, e); ServerWebExchangeUtil.setThrowable(exchange, e);
} }
} }