You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#15886 introduced more detailed log output for MappingJackson2HttpMessageConverter in case of an invalid mapping configuration. However, the log output only states "Failed to evaluate deserialization for type: Foo" which is not too helpful, as you don't find out about the details of the invalid mapping of said class.
It would be helpful to also log the cause as it contains detailed information about what actually is misconfigured.
I need to agree here. Switching to 4.0.1 made it a lot easier to debug at all, but it would be very nice if one could see the the log which is visible when stepping into the canRead implementation.
Fixed through appending the toString'ed exception at the existing warn level message, and logging the full stacktrace in case of debug level being enabled.
Oliver Drotbohm opened SPR-11403 and commented
#15886 introduced more detailed log output for
MappingJackson2HttpMessageConverter
in case of an invalid mapping configuration. However, the log output only states "Failed to evaluate deserialization for type: Foo" which is not too helpful, as you don't find out about the details of the invalid mapping of said class.It would be helpful to also log the cause as it contains detailed information about what actually is misconfigured.
Affects: 4.0.1
Issue Links:
1 votes, 3 watchers
The text was updated successfully, but these errors were encountered: