Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/jdk17' into jdk17
Browse files Browse the repository at this point in the history
  • Loading branch information
lltx committed Nov 8, 2024
2 parents eabb924 + a48a7e2 commit a24a044
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit a24a044

Please sign in to comment.