Web app configures the exception handling middleware but no /Error endpoint exists
Open
- 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
Assessment
This issue has not been assessed yet.