error log for closed connections

This commit is contained in:
doitux
2009-07-30 15:05:05 +00:00
parent 0356d21e0f
commit e6c1043993
+1
View File
@@ -587,6 +587,7 @@ ServerLobbyThread::HandleRead(const boost::system::error_code &ec, SessionId ses
}
else if (ec != boost::asio::error::operation_aborted)
{
LOG_ERROR("Connection closed: " << ec);
// On error: Close this session.
// Find the session.
SessionWrapper session = m_sessionManager.GetSessionById(sessionId);