Refactoring

This commit is contained in:
Christian
2018-01-22 21:11:35 +01:00
parent 002e4b8d69
commit 40c33ac639
3 changed files with 2 additions and 3 deletions
@@ -30,7 +30,7 @@ namespace MQTTnet.Internal
if (task.IsFaulted)
{
throw new MqttCommunicationException(task.Exception.GetBaseException());
throw new MqttCommunicationException(task.Exception?.GetBaseException());
}
}
finally