aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2014-06-22 00:05:41 +0200
committersapier <Sapier at GMX dot net>2014-06-22 00:05:41 +0200
commita0097c6bfab026d5655ef7a9ba127cb90a80798c (patch)
tree9284547bd3ea7ec51c112a518064e38c64b6a3bb /src
parentf8522d50e7c92438a3397d9965ac346613fbbfb9 (diff)
downloadminetest-a0097c6bfab026d5655ef7a9ba127cb90a80798c.tar.gz
minetest-a0097c6bfab026d5655ef7a9ba127cb90a80798c.tar.bz2
minetest-a0097c6bfab026d5655ef7a9ba127cb90a80798c.zip
Fix uncought deserialization error on receiving data
Diffstat (limited to 'src')
-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