Commit b1a738cc authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #4369 from DonLakeFlyer/UDPError

Better error output
parents 69d3b392 fe0a7e90
...@@ -257,7 +257,7 @@ bool UDPLink::_hardwareConnect() ...@@ -257,7 +257,7 @@ bool UDPLink::_hardwareConnect()
QObject::connect(_socket, &QUdpSocket::readyRead, this, &UDPLink::readBytes); QObject::connect(_socket, &QUdpSocket::readyRead, this, &UDPLink::readBytes);
emit connected(); emit connected();
} else { } else {
emit communicationError("UDP Link Error", "Error binding UDP port"); emit communicationError(tr("UDP Link Error"), tr("Error binding UDP port: %1").arg(_socket->errorString()));
} }
return _connectState; return _connectState;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment