diff --git a/libraries/shared/src/NodeList.cpp b/libraries/shared/src/NodeList.cpp index ab049d7fae..cda2963f53 100644 --- a/libraries/shared/src/NodeList.cpp +++ b/libraries/shared/src/NodeList.cpp @@ -587,7 +587,7 @@ void NodeList::sendDomainServerCheckIn() { qint64 code = writeDatagram(domainServerPacket, _domainInfo.getSockAddr(), _domainInfo.getConnectionSecret()); qDebug() << "Code returned is" << code; if (code == -1) { - qDebug() << "the socket error is" << _nodeSocket.error(); + qDebug() << "the socket error is" << _nodeSocket.errorString(); } const int NUM_DOMAIN_SERVER_CHECKINS_PER_STUN_REQUEST = 5; static unsigned int numDomainCheckins = 0;