dotnet / dotnet/eShop

Web app configures the exception handling middleware but no /Error endpoint exists

Open
#17 4 comments 0 reactions 1 assignee Claimed by @3lcarry View on GitHub
Dominant language
C#
Stars
10.9k
Forks
3.8k
Avg merge
1d 11h
Merged PRs (30d)
4

Description

From @danroth27
> The web app configures the exception handling middleware to route requests to /Error:
>
> ```csharp
> if (!app.Environment.IsDevelopment())
> {
> app.UseExceptionHandler("/Error");
> // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
> app.UseHsts();
> }
> ```
>
> But no /Error endpoint is defined in the app.
>

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.