Skip to content

Consistent warn logging for handled exceptions [SPR-17178] #21714

Closed
@spring-projects-issues

Description

@spring-projects-issues

Ran Cohen opened SPR-17178 and commented

I had a controller, and a field in the controller marked as Long. I tried using a url with the field being 0.88, and nothing happend.

After extensive debug, I found a Bind exception, and the reason I thought nothing happend is that the class RequestMappingHandlerAdapter in the method invokeHandlerMethod has a try... finally, no catch.

I wasted a few hours trying to figure out what happend.

Please fix it.


Affects: 4.3.14

Issue Links:

Referenced from: commits 8e980d9, 41e6aa6, a409233, bf7fa39, 04141de, 6ea3441, de453ac

Backported to: 4.3.19

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchestype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions