Help trace worker crash in Kusto. (#450)

* Help trace worker crash in Kusto.

* more

* feedback.
This commit is contained in:
Tingluo Huang
2020-04-27 23:44:17 -04:00
committed by GitHub
parent 1470a3b6e2
commit 70729fb3c4
3 changed files with 10 additions and 3 deletions

View File

@@ -486,7 +486,10 @@ namespace GitHub.Runner.Worker
foreach (var property in command.Properties)
{
issue.Data[property.Key] = property.Value;
if (!string.Equals(property.Key, Constants.Runner.InternalTelemetryIssueDataKey, StringComparison.OrdinalIgnoreCase))
{
issue.Data[property.Key] = property.Value;
}
}
context.AddIssue(issue);