mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 18:13:46 +01: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