React to WithCurrentCulture removal

This commit is contained in:
Brice Lambson 2015-05-04 10:38:59 -07:00
parent b1643b438a
commit 8508c6256e
1 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ namespace Microsoft.AspNet.Diagnostics.Entity
#endif
_loggerProvider.Logger.StartLoggingForCurrentCallContext();
await _next(context).WithCurrentCulture();
await _next(context);
}
catch (Exception ex)
{
@ -89,7 +89,7 @@ namespace Microsoft.AspNet.Diagnostics.Entity
{
var page = new DatabaseErrorPage();
page.Model = new DatabaseErrorPageModel(dbContextType, ex, databaseExists, pendingModelChanges, pendingMigrations, _options);
await page.ExecuteAsync(context).WithCurrentCulture();
await page.ExecuteAsync(context);
return;
}
}