diff options
author | sapier <Sapier at GMX dot net> | 2014-06-22 00:05:41 +0200 |
---|---|---|
committer | sapier <Sapier at GMX dot net> | 2014-06-22 00:05:41 +0200 |
commit | a0097c6bfab026d5655ef7a9ba127cb90a80798c (patch) | |
tree | 9284547bd3ea7ec51c112a518064e38c64b6a3bb | |
parent | f8522d50e7c92438a3397d9965ac346613fbbfb9 (diff) | |
download | minetest-a0097c6bfab026d5655ef7a9ba127cb90a80798c.tar.gz minetest-a0097c6bfab026d5655ef7a9ba127cb90a80798c.tar.bz2 minetest-a0097c6bfab026d5655ef7a9ba127cb90a80798c.zip |
Fix uncought deserialization error on receiving data
-rw-r--r-- | src/server.cpp | 5 |
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 |