-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Currently calling the .body method (or injecting it) and sending invalid content to the endpoint throws a generic java.text.ParseException or MapperWrongTypeException from abstract-data. The stacktrace is hard to debug since it doesn't contain any context (endpoint, invalid data, etc.)
Instead we should throw an exception that contains more context and can be properly handled in the exception handler and responded to.
- Invalid request body throws a specific exception
- The default exception handler, responds with 400
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request