From 61c3e02242826f8a9c775777976169ee2b575f91 Mon Sep 17 00:00:00 2001 From: Johan x Lindqvist Date: Thu, 19 Sep 2019 13:31:57 +0200 Subject: [PATCH] Updated exception message to be in line with other exception messages. --- Source/MQTTnet/Client/MqttClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/MQTTnet/Client/MqttClient.cs b/Source/MQTTnet/Client/MqttClient.cs index 6717f61..8520374 100644 --- a/Source/MQTTnet/Client/MqttClient.cs +++ b/Source/MQTTnet/Client/MqttClient.cs @@ -646,7 +646,7 @@ namespace MQTTnet.Client // By accessing the Exception property the exception is considered handled and will // not result in an unhandled task exception later by the finalizer - _logger.Warning(task.Exception, "Exception when waiting for background task."); + _logger.Warning(task.Exception, "Error while waiting for background task."); return; }