@RequestMapping consumes/produces InvalidMediaTypeException should mention offending class & method [SPR-14452] #19021
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: backported
An issue that has been backported to maintenance branches
type: enhancement
A general enhancement
Milestone
Hendy Irawan opened SPR-14452 and commented
The stacktrace given if we have erroneous
@RequestMapping
, e.g.@RequestMapping(consumes="text_plain")
is currently less useful. It should mention the class and method where the error occured, so the developer can easily fix it.Sample error below.
Related to #13781.
Affects: 4.2.7
Referenced from: commits e417955, 8ccd727, f0a826e
Backported to: 4.2.8
The text was updated successfully, but these errors were encountered: