From 229b9f41a65eab3475707d2864a027285795d3cb Mon Sep 17 00:00:00 2001 From: Dingmeng Xue Date: Fri, 14 Aug 2020 15:16:59 +0800 Subject: [PATCH] Add exception type to telemetry if execution is failed (#204) * Add exception type to telemetry if execution is failed * Sort using --- src/Common/MetricHelper.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Common/MetricHelper.cs b/src/Common/MetricHelper.cs index a7675f023f..1b6b0e6ccc 100644 --- a/src/Common/MetricHelper.cs +++ b/src/Common/MetricHelper.cs @@ -24,7 +24,6 @@ using System.Collections.Generic; using System.Diagnostics; using System.Management.Automation.Host; -using System.Net.Http.Headers; using System.Security.Cryptography; using System.Text; @@ -285,6 +284,11 @@ private void PopulatePropertiesFromQos(AzurePSQoSEvent qos, IDictionary