Closed
Description
Sébastien Deleuze opened SPR-15355 and commented
CodecException
handling should be handled in a consistent way between functional and annotation-based APIs. They should return by default 4xx status code for decoding error and 5xx for encoding error + should print the error reason in logs without the full stack trace. That would improve significantly the development experience.
Issue Links:
- Support for Jackson 2.9 [SPR-14925] #19492 Support for Jackson 2.9 ("depends on")
- Revisit CodecException vs ResponseStatusException in DecoderHttpMessageReader [SPR-15516] #20075 Revisit CodecException vs ResponseStatusException in DecoderHttpMessageReader
Referenced from: commits d098a4b