From a5c4e1461d11cc8a97b7c27247b585a4851350ab Mon Sep 17 00:00:00 2001 From: Sergey Kanzhelev Date: Tue, 4 Aug 2015 09:39:30 -0700 Subject: [PATCH] wrong error message for dependency sanitization --- src/Core/Managed/Shared/DataContracts/DependencyTelemetry.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/Managed/Shared/DataContracts/DependencyTelemetry.cs b/src/Core/Managed/Shared/DataContracts/DependencyTelemetry.cs index d75de17ea3..1b111858ad 100644 --- a/src/Core/Managed/Shared/DataContracts/DependencyTelemetry.cs +++ b/src/Core/Managed/Shared/DataContracts/DependencyTelemetry.cs @@ -184,7 +184,7 @@ public string DependencyKind void ITelemetry.Sanitize() { this.Name = this.Name.SanitizeName(); - this.Name = Utils.PopulateRequiredStringValue(this.Name, "name", typeof(EventTelemetry).FullName); + this.Name = Utils.PopulateRequiredStringValue(this.Name, "name", typeof(DependencyTelemetry).FullName); this.DependencyTypeName = this.DependencyTypeName.SanitizeValue(); this.CommandName = this.CommandName.SanitizeCommandName(); this.Properties.SanitizeProperties();