From f5823f8c5718dd8ebb0e1499b30def7c206c053a Mon Sep 17 00:00:00 2001 From: Denis-Cosmin Nutiu Date: Sun, 1 Dec 2019 18:13:52 +0200 Subject: [PATCH] Fix log in TelemetryPublisherAzure message not printed --- NucuCar.Domain/Telemetry/TelemetryPublisherAzure.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NucuCar.Domain/Telemetry/TelemetryPublisherAzure.cs b/NucuCar.Domain/Telemetry/TelemetryPublisherAzure.cs index 16ffbab..7316d1f 100644 --- a/NucuCar.Domain/Telemetry/TelemetryPublisherAzure.cs +++ b/NucuCar.Domain/Telemetry/TelemetryPublisherAzure.cs @@ -106,7 +106,7 @@ namespace NucuCar.Domain.Telemetry var messageString = JsonConvert.SerializeObject(data); var message = new Message(Encoding.ASCII.GetBytes(messageString)); - Logger?.LogDebug($"Telemetry message: {message}"); + Logger?.LogDebug($"Telemetry message: {messageString}"); await DeviceClient.SendEventAsync(message, cancellationToken); }