Reason of @ResponseStatus on handler method is not resolved by MessageSource #27156
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
If I move
@ResponseStatus
to Exception, It works fine.spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/ServletInvocableHandlerMethod.java
Lines 147 to 149 in b595dc1
should keep consistency with
spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/annotation/ResponseStatusExceptionResolver.java
Lines 157 to 159 in b595dc1
The text was updated successfully, but these errors were encountered: