Correct to print right result

Lost a change while moving from my developement branch to here.
This commit is contained in:
Jim Schaad
2020-01-08 11:11:41 -08:00
parent 457143c840
commit b1559a8fa5
@@ -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;
}