When I throw an HttpError
like this:
throw new HttpError(HttpStatusCode.Unauthorized, "Invalid session token - please login again.");
or like this:
throw HttpError.MethodNotAllowed("Unable to return image of this type.");
It gets caught by the global ServiceExceptionHandlers
. However the exception message does not have all the information:
Would it be possible to get this text along with a stack track so that error can be traced and logged?
ServiceStack.Core 5.1.0