This commit is contained in:
2020-01-28 00:28:52 +00:00
parent 7c14567e3c
commit 4f0a2d08da
5 changed files with 7 additions and 12 deletions

View File

@@ -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"),