The exception handling logic in WebRequestTrackingFilter rethrows the exception before invoking onEndRequest on all the modules. This results in 5xx-responses not being logged as failed requests in Application Insights and is inconsistent with the way the .NET-library works.
The exception handling logic in
WebRequestTrackingFilterrethrows the exception before invokingonEndRequeston all the modules. This results in 5xx-responses not being logged as failed requests in Application Insights and is inconsistent with the way the .NET-library works.