Skip to content

Commit

Permalink
Enable UseDatabaseErrorPage
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter van den Hout committed Nov 29, 2019
1 parent 667ca3c commit 8928d5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions samples/Opw.PineBlog.Sample/Opw.PineBlog.Sample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.8.2" />
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="3.0.0" />
<PackageReference Include="WaffleGenerator" Version="4.0.2" />
</ItemGroup>

Expand Down
1 change: 1 addition & 0 deletions samples/Opw.PineBlog.Sample/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
if (env.IsDevelopment())
{
app.UseDeveloperExceptionPage();
app.UseDatabaseErrorPage();
}
else
{
Expand Down

0 comments on commit 8928d5a

Please sign in to comment.