💚 React to API change in UseDatabaseErrorPage

The overload being used in the Startup.cs has swapped to a builder pattern (see https://github.com/aspnet/Diagnostics/issues/184). But rather than updating to the new signature, just swapping to the parameterless overload since it enables everything by default (same as UseDeveloperExceptionPage()).
This commit is contained in:
Rowan Miller 2015-10-21 09:43:25 -07:00
parent b437669e93
commit 42a5a28210
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ namespace MusicStore
// During development use the ErrorPage middleware to display error information in the browser
app.UseDeveloperExceptionPage();
app.UseDatabaseErrorPage(DatabaseErrorPageOptions.ShowAll);
app.UseDatabaseErrorPage();
// Add the runtime information page that can be used by developers
// to see what packages are used by the application