-
Notifications
You must be signed in to change notification settings - Fork 293
Description
If you are reporting bug/issue, please provide detailed Repro instructions.
Repro Steps
still investigating, don't have a repro yet
Breeze fixed their issues. Can test using this: https://badssl.com/
Actual Behavior
We aren't handling the AggregateException.
Instead, we log this message:
"Failed to send: One or more errors occurred.."
ApplicationInsights-dotnet/src/Microsoft.ApplicationInsights/Channel/InMemoryTransmitter.cs
Lines 136 to 144 in f181abb
| try | |
| { | |
| // send request | |
| this.Send(telemetryItems, timeout).Wait(); | |
| } | |
| catch (Exception e) | |
| { | |
| CoreEventSource.Log.FailedToSend(e.Message); | |
| } |
Send method returns a Task
ApplicationInsights-dotnet/src/Microsoft.ApplicationInsights/Channel/InMemoryTransmitter.cs
Line 151 in f181abb
| private Task Send(IEnumerable<ITelemetry> telemetryItems, TimeSpan timeout) |
Expected Behavior
We need to correctly handle the AggregateException.
Version Info
SDK Version : all
.NET Version : all
How Application was onboarded with SDK(VisualStudio/StatusMonitor/Azure Extension) :
OS : nuget
Hosting Info (IIS/Azure WebApps/ etc) : onprem