纠正注释里的英文词

rquest 改成 request,原来rquest会引起代码扫描提示
This commit is contained in:
夜十一狼 committed 2024-08-27 13:46:29 +08:00
1 parent febefc144e
commit bf5de1dd2e
1 file changed
+1 -1
@@ -47,7 +47,7 @@ public class GlobalExceptionConfiguration implements ErrorWebExceptionHandler {
return response.writeWith(Mono.fromSupplier(() -> {
DataBufferFactory bufferFactory = response.bufferFactory();
try {
log.error("Error rquest :{} Error Spring Cloud Gateway : {}", exchange.getRequest().getPath(),
log.error("Error request :{} Error Spring Cloud Gateway : {}", exchange.getRequest().getPath(),
ex.getMessage());
return bufferFactory.wrap(objectMapper.writeValueAsBytes(R.failed(ex.getMessage())));
}