too many changes
This commit is contained in:
@@ -32,6 +32,8 @@ public sealed class DomainExceptionHandler : IExceptionHandler
|
||||
Status = status,
|
||||
};
|
||||
|
||||
problem.Extensions["errorCode"] = ex.GetType().Name;
|
||||
|
||||
ctx.Response.StatusCode = status;
|
||||
await ctx.Response.WriteAsJsonAsync(problem, ct);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user