Including a Stack Trace in the Response Body
When the Administrator API encounters an exception, the error is returned to the client in an HTTP response. By default, the body of the response contains the exception message and the stack trace which can be useful for debugging purposes. If you want error responses to omit the stack trace, set watt.adminapi.returnExceptions to false, the default. Set watt.adminapi.returnExceptions to true to include the stack trace in the response body. Changes to this property take effect immediately.