Browse Source

Correct to print right result

Lost a change while moving from my developement branch to here.
release/3.x.x
Jim Schaad 5 years ago
parent
commit
b1559a8fa5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Source/MQTTnet/Adapter/MqttConnectingFailedException.cs

+ 1
- 1
Source/MQTTnet/Adapter/MqttConnectingFailedException.cs View File

@@ -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…
Cancel
Save