Adding additional logging.

This commit is contained in:
lotodore
2009-07-12 21:12:55 +00:00
parent 6c464107cc
commit f7a8cb1419
2 changed files with 11 additions and 5 deletions
+2 -2
View File
@@ -459,7 +459,7 @@ ServerLobbyThread::Main()
} catch (const PokerTHException &e)
{
GetCallback().SignalNetServerError(e.GetErrorId(), e.GetOsErrorCode());
LOG_ERROR(e.what());
LOG_ERROR("Lobby exception: " << e.what());
}
// Clear all sessions.
m_sessionManager.Clear();
@@ -549,7 +549,7 @@ ServerLobbyThread::HandleRead(const boost::system::error_code &ec, SessionId ses
game->HandlePacket(session, packet);
} catch (const PokerTHException &e)
{
LOG_ERROR(e.what());
LOG_ERROR("Game " << game->GetId() << " - Read handler exception: " << e.what());
InternalRemoveGame(game);
}
}