I have a more or less simple CRUD Spring MVC application with a minimum of business logic. I'm therefore kinda heavily depending on default exception handling simply by annotating my exception classes with @ResponseStatus to control status codes with just a couple of @ExceptionHandler handlers for a few special cases. Recently I've noticed that in cases where I'm depending on default handling my responses have empty bodies, as opposed to previously containing a message from the exception (custom @ExceptionHandler work properly).
I've tried looking into white-label error page but all I can find are how-tos on the customization or disabling, nothing regarding its misconfiguration or anything similar. I'm suspecting it's caused by updating to newer spring boot and/or spring cloud dependencies, but can't find anything which would explain it in release notes
I'm expecting a JSON containing the error message as opposed to the current completely empty body.