From 9cc96f1888dd776b265e6aefc90699e7e27e1657 Mon Sep 17 00:00:00 2001 From: Christian Kratky Date: Tue, 30 Jul 2019 20:01:45 +0200 Subject: [PATCH] Refactor log messages. --- Source/MQTTnet.Extensions.ManagedClient/ManagedMqttClient.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/MQTTnet.Extensions.ManagedClient/ManagedMqttClient.cs b/Source/MQTTnet.Extensions.ManagedClient/ManagedMqttClient.cs index a6ee48b..f53a8dd 100644 --- a/Source/MQTTnet.Extensions.ManagedClient/ManagedMqttClient.cs +++ b/Source/MQTTnet.Extensions.ManagedClient/ManagedMqttClient.cs @@ -364,7 +364,7 @@ namespace MQTTnet.Extensions.ManagedClient } catch (Exception exception) { - _logger.Error(exception, "Unhandled exception while publishing queued application messages."); + _logger.Error(exception, "Error while publishing queued application messages."); } finally { @@ -424,7 +424,7 @@ namespace MQTTnet.Extensions.ManagedClient catch (Exception exception) { transmitException = exception; - _logger.Error(exception, $"Unhandled exception while publishing application message ({message.Id})."); + _logger.Error(exception, $"Error while publishing application message ({message.Id})."); } finally {