mirror of
https://github.com/moparisthebest/minetest
synced 2024-12-23 16:08:51 -05:00
Fix uncought deserialization error on receiving data
This commit is contained in:
parent
f8522d50e7
commit
a0097c6bfa
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user