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

@ -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