This commit is contained in:
@@ -93,7 +93,7 @@ namespace AyaNova.Api.ControllerHelpers
|
||||
|
||||
//This line is critical, without it the response is not proper and fails in various clients (postman, xunit tests with httpclient)
|
||||
context.ExceptionHandled = true;
|
||||
//context.Result
|
||||
|
||||
|
||||
response.WriteAsync(JsonConvert.SerializeObject(
|
||||
new ApiErrorResponse(ApiErrorCode.API_SERVER_ERROR, "Server internal error", "See server log for details"),
|
||||
|
||||
Reference in New Issue
Block a user