mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-06-19 10:38:15 +08:00
fixed more failing acceptance tests...think the only thing to do now is work out the authentication stuff and that should fix all the other tests
This commit is contained in:
@ -50,11 +50,12 @@ namespace Ocelot.Errors.Middleware
|
||||
|
||||
private void SetInternalServerErrorOnResponse(HttpContext context)
|
||||
{
|
||||
context.Response.OnStarting(x =>
|
||||
context.Response.StatusCode = 500;
|
||||
/* context.Response.OnStarting(x =>
|
||||
{
|
||||
context.Response.StatusCode = 500;
|
||||
return Task.CompletedTask;
|
||||
}, context);
|
||||
}, context);*/
|
||||
}
|
||||
|
||||
private string CreateMessage(HttpContext context, Exception e)
|
||||
|
Reference in New Issue
Block a user