You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the exception thrown during request processing is handled using Exception Handler middleware, the exception is currently recorded by the instrumentation. However, this does not match with the definition of RecordException which calls out Unhandled exceptions specifically. The issue occurs due to the following reason:
The diagnostic source event name that is written in case of handled exception by handler is Microsoft.AspNetCore.Diagnostics.HandledException and in case of unhandled exception is Microsoft.AspNetCore.Diagnostics.UnhandledException. However, due to the pattern matching both handled and unhandled exceptions are recorded.