intelligentplant / ProblemDetails.WebApi

Adds RFC 7807 support to ASP.NET 4.x Web API applications.
Apache License 2.0
1 stars 3 forks source link

Allow Web API exceptions to be handled by OWIN pipeline #3

Closed wazzamatazz closed 3 years ago

wazzamatazz commented 3 years ago

These changes allow the default catch-all IExceptionHandler service in the Web API configuration to be replaced with one that will cause all unhandled exceptions to bubble up from the Web API pipeline into the host app's request pipeline.

This allows all exceptions to be handled in the OWIN pipeline instead of in the Web API pipeline.