mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-27 00:40:01 +08:00
Adjusted ImplementationSpecificError to be UnspecifiedError reason code in the MqttClient.
This commit is contained in:
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user