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:
Tom Pallister
2017-10-30 13:14:12 +00:00
parent b23bbf56b9
commit 120532bb0d
4 changed files with 35 additions and 31 deletions

View File

@ -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)