Skip to content

Add UnrecognizedPropertyException and JsonProcessingException handler

Sviatoslav Nekhaienko requested to merge add-exeptions into master

• What is the change? Handling of UnrecognizedPropertyException and JsonProcessingException have been added

• What does it impact? BAD_REQUEST is returned instead of INTERNAL_SERVER_ERROR

• How do I reproduce or test the change? 2 Unit tests have been added, BAD_REQUEST is returned in case of wrong Json or property values

Edited by Chad Leong

Merge request reports

Loading