Sfoglia il codice sorgente

Correct to print right result

Lost a change while moving from my developement branch to here.
release/3.x.x
Jim Schaad 5 anni fa
parent
commit
b1559a8fa5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      Source/MQTTnet/Adapter/MqttConnectingFailedException.cs

+ 1
- 1
Source/MQTTnet/Adapter/MqttConnectingFailedException.cs Vedi 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;
}


Caricamento…
Annulla
Salva