Commit fe0a7e90 authored by Don Gagne's avatar Don Gagne

Better error output

parent d663c932
......@@ -257,7 +257,7 @@ bool UDPLink::_hardwareConnect()
QObject::connect(_socket, &QUdpSocket::readyRead, this, &UDPLink::readBytes);
emit connected();
} 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;
}
......
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