diff --git a/Source/MQTTnet/Client/MqttClient.cs b/Source/MQTTnet/Client/MqttClient.cs index 6717f610..8520374b 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; }