Adjusted ImplementationSpecificError to be UnspecifiedError reason code in the MqttClient.

This commit is contained in:
SeppPenner
2020-06-18 10:03:44 +02:00
parent df149eb0b3
commit 8f6d48be81
+1 -1
View File
@@ -343,7 +343,7 @@ namespace MQTTnet.Client
catch (Exception e) catch (Exception e)
{ {
_logger.Warning(e, "Error while waiting for internal tasks."); _logger.Warning(e, "Error while waiting for internal tasks.");
reasonCode = MqttClientDisconnectReason.ImplementationSpecificError; reasonCode = MqttClientDisconnectReason.UnspecifiedError;
} }
finally finally
{ {