From 0600d4fde4271c4b6b89df8a374e4f0a6feae3ae Mon Sep 17 00:00:00 2001 From: Denis NUTIU Date: Sat, 7 Dec 2019 00:07:24 +0200 Subject: [PATCH] Remove unused variable in TelemetryPublisherAzure.cs --- 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 077d522..ab99460 100644 --- a/NucuCar.Domain/Telemetry/TelemetryPublisherAzure.cs +++ b/NucuCar.Domain/Telemetry/TelemetryPublisherAzure.cs @@ -129,7 +129,7 @@ namespace NucuCar.Domain.Telemetry await DeviceClient.SendEventAsync(message, cts.Token); break; } - catch (OperationCanceledException e) + catch (OperationCanceledException) { retry += 1; Logger?.LogWarning($"Telemetry not sent! Retry {retry}.");