We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 47bbc72 + f7575c1 commit 12c5443Copy full SHA for 12c5443
1 file changed
src/Services/Ordering/Ordering.API/Infrastructure/Filters/HttpGlobalExceptionFilter.cs
@@ -41,12 +41,12 @@ public void OnException(ExceptionContext context)
41
{
42
var json = new JsonErrorResponse
43
44
- Messages = new[] { "An error ocurr.Try it again." }
+ Messages = new[] { "An error occur.Try it again." }
45
};
46
47
if (env.IsDevelopment())
48
49
- json.DeveloperMeesage = context.Exception;
+ json.DeveloperMessage = context.Exception;
50
}
51
52
// Result asigned to a result object but in destiny the response is empty. This is a known bug of .net core 1.1
@@ -61,7 +61,7 @@ private class JsonErrorResponse
61
62
public string[] Messages { get; set; }
63
64
- public object DeveloperMeesage { get; set; }
+ public object DeveloperMessage { get; set; }
65
66
67
0 commit comments