1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-12-23 08:08:47 -05:00

Fix uncought deserialization error on receiving data

This commit is contained in:
sapier 2014-06-22 00:05:41 +02:00
parent f8522d50e7
commit a0097c6bfa

View File

@ -1173,6 +1173,11 @@ void Server::Receive()
"InvalidIncomingDataException: what()=" "InvalidIncomingDataException: what()="
<<e.what()<<std::endl; <<e.what()<<std::endl;
} }
catch(SerializationError &e) {
infostream<<"Server::Receive(): "
"SerializationError: what()="
<<e.what()<<std::endl;
}
catch(con::PeerNotFoundException &e) catch(con::PeerNotFoundException &e)
{ {
//NOTE: This is not needed anymore //NOTE: This is not needed anymore