mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-18 02:13:00 +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 MqttConnectingFailedException(MqttClientAuthenticateResult resultCode)
|
||||
: base($"Connecting with MQTT server failed ({resultCode.ToString()}).")
|
||||
: base($"Connecting with MQTT server failed ({resultCode.ResultCode.ToString()}).")
|
||||
{
|
||||
Result = resultCode;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user