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
{{ message }}
This repository has been archived by the owner on Jun 10, 2020. It is now read-only.
Exceptions have a .Data property (https://docs.microsoft.com/en-us/dotnet/api/system.exception.data?view=netcore-2.1) that "gets a collection of key/value pairs that provide additional user-defined information about the exception."
It would be nice if these additional properties were logged. In https://github.com/Microsoft/ApplicationInsights-aspnetcore/blob/develop/src/Microsoft.ApplicationInsights.AspNetCore/Logging/Implementation/ApplicationInsightsLogger.cs, I see that the telemetry is populated with the stateProperties, but it would be good to also add the exception.Data to the telemetry.
The text was updated successfully, but these errors were encountered: