-
Notifications
You must be signed in to change notification settings - Fork 294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Both TelemetryChannels do not correctly handle AggregateException #1173
Comments
ApplicationInsights-dotnet/src/ServerTelemetryChannel/Implementation/TransmissionSender.cs Lines 154 to 163 in f181abb
There is an if later that tries to handle ApplicationInsights-dotnet/src/ServerTelemetryChannel/Implementation/TransmissionSender.cs Line 194 in f181abb
|
@MS-TimothyMothra Great catch! We really want to log most accurate error message if things are not working well, and fixing this further improves supportability. |
@MS-TimothyMothra I don't think ServerTelemetryChannel has the bug because it does an |
@cijothomas No behavior is affected, we're only logging incorrect or incomplete exceptions |
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:
ApplicationInsights-dotnet/src/Microsoft.ApplicationInsights/Channel/InMemoryTransmitter.cs
Lines 136 to 144 in f181abb
Send method returns a Task
ApplicationInsights-dotnet/src/Microsoft.ApplicationInsights/Channel/InMemoryTransmitter.cs
Line 151 in f181abb
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
The text was updated successfully, but these errors were encountered: