Skip to content

Commit 12c5443

Browse files
Merge pull request dotnet-architecture#173 from GeertVL/master
Fixed some minor typos
2 parents 47bbc72 + f7575c1 commit 12c5443

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Services/Ordering/Ordering.API/Infrastructure/Filters/HttpGlobalExceptionFilter.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ public void OnException(ExceptionContext context)
4141
{
4242
var json = new JsonErrorResponse
4343
{
44-
Messages = new[] { "An error ocurr.Try it again." }
44+
Messages = new[] { "An error occur.Try it again." }
4545
};
4646

4747
if (env.IsDevelopment())
4848
{
49-
json.DeveloperMeesage = context.Exception;
49+
json.DeveloperMessage = context.Exception;
5050
}
5151

5252
// 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
6161
{
6262
public string[] Messages { get; set; }
6363

64-
public object DeveloperMeesage { get; set; }
64+
public object DeveloperMessage { get; set; }
6565
}
6666
}
6767
}

0 commit comments

Comments
 (0)