Consider running user-provided exception handler even when response has started
Open
affected-few
area-middleware
enhancement
severity-minor
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 281
Description
Created from https://github.com/aspnet/AspNetCore/issues/12301
If the response has already started, the Exception Handler middleware exits early and doesn't write a response. This makes total sense. However, it also doesn't call the user-provided handler (if any) and it doesn't signal the diagnostic source. This makes diagnosing issues more difficult. We should consider refactoring this.
Contributor guide
Assessment
This issue has not been assessed yet.