I need to throw a custom exception and pass only the exception message in the response, but I still need to see the full stack trace in the console. My exception is defined as:<