summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/server.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/server.cpp b/src/server.cpp
index 7c4c48c48..54a139849 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -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