Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix uncought deserialization error on receiving data
  • Loading branch information
sapier authored and sapier committed Jun 21, 2014
1 parent f8522d5 commit a0097c6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/server.cpp
Expand Up @@ -1173,6 +1173,11 @@ void Server::Receive()
"InvalidIncomingDataException: what()="
<<e.what()<<std::endl;
}
catch(SerializationError &e) {
infostream<<"Server::Receive(): "
"SerializationError: what()="
<<e.what()<<std::endl;
}
catch(con::PeerNotFoundException &e)
{
//NOTE: This is not needed anymore
Expand Down

0 comments on commit a0097c6

Please sign in to comment.