Skip to content

Commit a24a044

Browse files
committed
Merge remote-tracking branch 'origin/jdk17' into jdk17
2 parents eabb924 + a48a7e2 commit a24a044

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: pig-common/pig-common-feign/src/main/java/com/pig4cloud/pig/common/feign/sentinel/handle/GlobalBizExceptionHandler.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public R bindExceptionHandler(BindException exception) {
131131
*/
132132
@ExceptionHandler({ NoResourceFoundException.class })
133133
@ResponseStatus(HttpStatus.NOT_FOUND)
134-
public R bindExceptionHandler(NoResourceFoundException exception) {
134+
public R notFoundExceptionHandler(NoResourceFoundException exception) {
135135
log.debug("请求路径 404 {}", exception.getMessage());
136136
return R.failed(exception.getMessage());
137137
}

0 commit comments

Comments
 (0)