mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Fix uncought deserialization error on receiving data
This commit is contained in:
parent
f8522d50e7
commit
a0097c6bfa
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue