1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-02-17 07:03:41 -05:00

Add debug

This commit is contained in:
srcejon 2025-06-09 20:07:22 +01:00
parent 55de2c724f
commit d441dad344

View File

@ -93,8 +93,12 @@ void MapWebSocketServer::send(const QJsonObject &obj)
qint64 bytesSent = m_client->sendTextMessage(bytes);
m_client->flush(); // Try to reduce latency
if (bytesSent != bytes.size()) {
qDebug() << "MapWebSocketServer::update - Sent only " << bytesSent << " bytes out of " << bytes.size();
qDebug() << "MapWebSocketServer::send - Sent only " << bytesSent << " bytes out of " << bytes.size();
}
}
else
{
qDebug() << "MapWebSocketServer::send - No client to send " << obj;
}
}