-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Closed
Labels
area-middlewareIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresarea-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templatesIncludes: MVC, Actions and Controllers, Localization, CORS, most templatesfeature-diagnosticsDiagnostic middleware and pages (except EF diagnostics)Diagnostic middleware and pages (except EF diagnostics)
Description
The ExcptionHanlerMiddleware no longer supports empty options. Either ExceptionHandler or ExceptionHandlingPath has to be set. Therefore, the ExceptionHandlerExtensions.UseExceptionHandler() overload that takes no arguments can't be used. Either remove this or set a default for the options.
Metadata
Metadata
Assignees
Labels
area-middlewareIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresIncludes: URL rewrite, redirect, response cache/compression, session, and other general middlewaresarea-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templatesIncludes: MVC, Actions and Controllers, Localization, CORS, most templatesfeature-diagnosticsDiagnostic middleware and pages (except EF diagnostics)Diagnostic middleware and pages (except EF diagnostics)