Describe the bug
AplicationInsightsLoggerProvider is not catching exceptions and letting them propagate to caller. This can cause applications to crash if an exception occurs inside ApplicationInsightsProvider. This is against the overall SDK principles of never throwing.
https://github.com/microsoft/ApplicationInsights-dotnet/blob/develop/LOGGING/src/ILogger/ApplicationInsightsLogger.cs#L79
Proposal : catch and log exception to EventSource.
Describe the bug
AplicationInsightsLoggerProvider is not catching exceptions and letting them propagate to caller. This can cause applications to crash if an exception occurs inside ApplicationInsightsProvider. This is against the overall SDK principles of never throwing.
https://github.com/microsoft/ApplicationInsights-dotnet/blob/develop/LOGGING/src/ILogger/ApplicationInsightsLogger.cs#L79
Proposal : catch and log exception to EventSource.