mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-12 07:02:14 +08:00
3.1.1
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user