mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-24 13:18:38 -05: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)
|
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)
|
switch (e)
|
||||||
{
|
{
|
||||||
case QAbstractSocket::RemoteHostClosedError:
|
case QAbstractSocket::RemoteHostClosedError:
|
||||||
|
Loading…
Reference in New Issue
Block a user