mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-02-16 22:53:45 -05:00
Add debug
This commit is contained in:
parent
55de2c724f
commit
d441dad344
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user