mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-10-31 15:47:10 -04:00
Human readable socket error message in log
This commit is contained in:
parent
3967660297
commit
21b57dbe6f
@ -116,7 +116,7 @@ public:
|
||||
|
||||
void handle_socket_error (QAbstractSocket::SocketError e)
|
||||
{
|
||||
LOG_LOG_LOCATION (logger_, trace, "err: " << e);
|
||||
LOG_LOG_LOCATION (logger_, warning, "socket error: " << socket_->errorString ());
|
||||
switch (e)
|
||||
{
|
||||
case QAbstractSocket::RemoteHostClosedError:
|
||||
|
Loading…
Reference in New Issue
Block a user