diff --git a/code/ryzom/client/src/network_connection.cpp b/code/ryzom/client/src/network_connection.cpp index 5a7e42179..d78fd6199 100644 --- a/code/ryzom/client/src/network_connection.cpp +++ b/code/ryzom/client/src/network_connection.cpp @@ -2756,7 +2756,16 @@ void CNetworkConnection::sendSystemDisconnection() uint32 length = message.length(); if (_Connection.connected()) - _Connection.send (message.buffer(), length); + { + try + { + _Connection.send(message.buffer(), length); + } + catch (const ESocket &e) + { + nlwarning("Socket exception: %s", e.what()); + } + } //sendUDP (&(_Connection), message.buffer(), length); statsSend(length);