Skip to content

Commit

Permalink
fix: 修复异常过滤器 #105
Browse files Browse the repository at this point in the history
  • Loading branch information
WangJunZzz committed Aug 15, 2023
1 parent b3c2f1c commit ef14b42
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ await context.HttpContext.RequestServices.GetRequiredService<IAbpAuthorizationEx
}
else
{
context.HttpContext.Response.Headers.Add(AbpHttpConsts.AbpErrorFormat, "true");
context.HttpContext.Response.StatusCode = (int)context
.GetRequiredService<IHttpExceptionStatusCodeFinder>()
.GetStatusCode(context.HttpContext, context.Exception);
Expand Down

0 comments on commit ef14b42

Please sign in to comment.