mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-29 01:32:37 +08:00
Correct to print right result
Lost a change while moving from my developement branch to here.
This commit is contained in:
@@ -6,7 +6,7 @@ namespace MQTTnet.Adapter
|
|||||||
public class MqttConnectingFailedException : MqttCommunicationException
|
public class MqttConnectingFailedException : MqttCommunicationException
|
||||||
{
|
{
|
||||||
public MqttConnectingFailedException(MqttClientAuthenticateResult resultCode)
|
public MqttConnectingFailedException(MqttClientAuthenticateResult resultCode)
|
||||||
: base($"Connecting with MQTT server failed ({resultCode.ToString()}).")
|
: base($"Connecting with MQTT server failed ({resultCode.ResultCode.ToString()}).")
|
||||||
{
|
{
|
||||||
Result = resultCode;
|
Result = resultCode;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user