Exceptions are now derived from std::exception and tell source code file and line.
This commit is contained in:
@@ -281,7 +281,7 @@ ServerLobbyThread::Main()
|
||||
// Remove games.
|
||||
RemoveGameLoop();
|
||||
}
|
||||
} catch (const NetException &e)
|
||||
} catch (const PokerTHException &e)
|
||||
{
|
||||
GetCallback().SignalNetServerError(e.GetErrorId(), e.GetOsErrorCode());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user