Skip to content
This repository has been archived by the owner on Sep 21, 2018. It is now read-only.

Commit

Permalink
💚 React to API change in UseDatabaseErrorPage
Browse files Browse the repository at this point in the history
The overload being used in the templates has swapped to a builder pattern (see aspnet/Diagnostics#184). But rather than updating to the new signature, just swapping to the parameterless overload since it enables everything by default (same as UseDeveloperExceptionPage()).
  • Loading branch information
rowanmiller committed Oct 21, 2015
1 parent ca4d4f4 commit 2cde6a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Rules/StarterWeb/AI/IndividualAuth/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerF
{
app.UseBrowserLink();
app.UseDeveloperExceptionPage();
app.UseDatabaseErrorPage(DatabaseErrorPageOptions.ShowAll);
app.UseDatabaseErrorPage();
}
else
{
Expand Down
2 changes: 1 addition & 1 deletion src/Rules/StarterWeb/IndividualAuth/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerF
{
app.UseBrowserLink();
app.UseDeveloperExceptionPage();
app.UseDatabaseErrorPage(DatabaseErrorPageOptions.ShowAll);
app.UseDatabaseErrorPage();
}
else
{
Expand Down

0 comments on commit 2cde6a2

Please sign in to comment.