To capture and return error messages for the REST API, I’ve created a RestControllerExceptionHandler and it works great to be able to get the correct error message and return it. The problem is that I can’t get the exceptions that are thrown from published custom services. I’ll throw exceptions in these services but the handler only gets a generic exception with no reference to the original exception. Is there any way to get the error from a published rest service?
Thanks.