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
Hi @josephwoodward, Could you please suggest any workaround/fix for Unhandled exception logs logged by ExceptionHandlerMiddleware.
For ex:
2019-01-28 14:09:10.3817|ERROR|Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware||An unhandled exception has occurred while executing the request. A network-related or instance-specific error occurred while establishing a connection to SQL Server.....
As far as I understand, the library is built on top of ExceptionHandlerMiddleware by setting its exception handler.
By default the exception is logged as "unhandled exception" after which is handled by the library via ExceptionHandlerConfiguration.
This is causing a message "An unhandled exception has occurred: ..." sent to the logger. What would you suggest to avoid that behaviour?
The text was updated successfully, but these errors were encountered: