Log invalid messages on client
This commit is contained in:
parent
84a8d269de
commit
b102915e27
@ -113,7 +113,10 @@ void App::ProcessMessage(net::InMessage& msg)
|
|||||||
|
|
||||||
// std::cout << "App::ProcessMessage: received message of size " << s << " bytes" << std::endl;
|
// std::cout << "App::ProcessMessage: received message of size " << s << " bytes" << std::endl;
|
||||||
|
|
||||||
session_->ProcessMessage(msg);
|
if (!session_->ProcessMessage(msg))
|
||||||
|
{
|
||||||
|
std::cerr << "FAILED to process message!" << std::endl;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void App::Disconnected(const std::string& reason)
|
void App::Disconnected(const std::string& reason)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user