Skip to content

Commit

Permalink
Always show dev error page
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmackay committed Dec 16, 2024
1 parent cb1b42c commit 48da187
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/WebUI/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,7 @@
var app = builder.Build();

// Configure the HTTP request pipeline.
if (!app.Environment.IsDevelopment())
{
app.UseExceptionHandler("/Error", createScopeForErrors: true);
}
app.UseExceptionHandler("/Error", createScopeForErrors: true);

// app.UseHttpsRedirection();

Expand Down

0 comments on commit 48da187

Please sign in to comment.