React to WithCurrentCulture removal
This commit is contained in:
parent
b1643b438a
commit
8508c6256e
|
|
@ -55,7 +55,7 @@ namespace Microsoft.AspNet.Diagnostics.Entity
|
||||||
#endif
|
#endif
|
||||||
_loggerProvider.Logger.StartLoggingForCurrentCallContext();
|
_loggerProvider.Logger.StartLoggingForCurrentCallContext();
|
||||||
|
|
||||||
await _next(context).WithCurrentCulture();
|
await _next(context);
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
|
@ -89,7 +89,7 @@ namespace Microsoft.AspNet.Diagnostics.Entity
|
||||||
{
|
{
|
||||||
var page = new DatabaseErrorPage();
|
var page = new DatabaseErrorPage();
|
||||||
page.Model = new DatabaseErrorPageModel(dbContextType, ex, databaseExists, pendingModelChanges, pendingMigrations, _options);
|
page.Model = new DatabaseErrorPageModel(dbContextType, ex, databaseExists, pendingModelChanges, pendingMigrations, _options);
|
||||||
await page.ExecuteAsync(context).WithCurrentCulture();
|
await page.ExecuteAsync(context);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue