Fix log in TelemetryPublisherAzure message not printed

This commit is contained in:
Denis-Cosmin Nutiu 2019-12-01 18:13:52 +02:00
parent 5be270210a
commit f5823f8c57

View file

@ -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);
}