瀏覽代碼

Correct to print right result

Lost a change while moving from my developement branch to here.
release/3.x.x
Jim Schaad 5 年之前
父節點
當前提交
b1559a8fa5
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      Source/MQTTnet/Adapter/MqttConnectingFailedException.cs

+ 1
- 1
Source/MQTTnet/Adapter/MqttConnectingFailedException.cs 查看文件

@@ -6,7 +6,7 @@ namespace MQTTnet.Adapter
public class MqttConnectingFailedException : MqttCommunicationException
{
public MqttConnectingFailedException(MqttClientAuthenticateResult resultCode)
: base($"Connecting with MQTT server failed ({resultCode.ToString()}).")
: base($"Connecting with MQTT server failed ({resultCode.ResultCode.ToString()}).")
{
Result = resultCode;
}


Loading…
取消
儲存