Skip to content

Expose Spring MVC handled exception as request attribute when no view rendering is required [SPR-11686] #16309

@spring-projects-issues

Description

@spring-projects-issues

Dave Syer opened SPR-11686 and commented

Is there any reason DefaultHandlerExceptionResolver couldn't set "javax.servlet.error.exception" for all the exceptions it handles? Anyone writing an error view is left without some vital information (especially rich when it is a BindException, for instance). Surely we could add it without breaking any existing applications?


Affects: 4.0.3

Referenced from: commits 476864f

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions