💚 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:
parent
b437669e93
commit
42a5a28210
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue