From b6be006f3b97d5158c5720cf7035ff62e2fbdbb5 Mon Sep 17 00:00:00 2001 From: carl Date: Thu, 24 Oct 2024 16:30:15 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=BC=82=E5=B8=B8):=20=E5=85=A8=E5=B1=80?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=E5=A4=84=E7=90=86=E5=99=A8=E4=B8=AD=E6=96=B9?= =?UTF-8?q?=E6=B3=95=E5=90=8D=E5=AD=97=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/feign/sentinel/handle/GlobalBizExceptionHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pig-common/pig-common-feign/src/main/java/com/pig4cloud/pig/common/feign/sentinel/handle/GlobalBizExceptionHandler.java b/pig-common/pig-common-feign/src/main/java/com/pig4cloud/pig/common/feign/sentinel/handle/GlobalBizExceptionHandler.java index fd0f11fbc..d4ee7d56c 100644 --- a/pig-common/pig-common-feign/src/main/java/com/pig4cloud/pig/common/feign/sentinel/handle/GlobalBizExceptionHandler.java +++ b/pig-common/pig-common-feign/src/main/java/com/pig4cloud/pig/common/feign/sentinel/handle/GlobalBizExceptionHandler.java @@ -131,7 +131,7 @@ public R bindExceptionHandler(BindException exception) { */ @ExceptionHandler({ NoResourceFoundException.class }) @ResponseStatus(HttpStatus.NOT_FOUND) - public R bindExceptionHandler(NoResourceFoundException exception) { + public R notFoundExceptionHandler(NoResourceFoundException exception) { log.debug("请求路径 404 {}", exception.getMessage()); return R.failed(exception.getMessage()); }