From 42a5a2821059886deeba0ade5c6e726a620d5825 Mon Sep 17 00:00:00 2001 From: Rowan Miller Date: Wed, 21 Oct 2015 09:43:25 -0700 Subject: [PATCH] :green_heart: 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()). --- src/MusicStore/Startup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MusicStore/Startup.cs b/src/MusicStore/Startup.cs index debb5ac60c..b6839fe2b8 100644 --- a/src/MusicStore/Startup.cs +++ b/src/MusicStore/Startup.cs @@ -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