projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8522d5
)
Fix uncought deserialization error on receiving data
author
sapier
<Sapier at GMX dot net>
Sat, 21 Jun 2014 22:05:41 +0000
(
00:05
+0200)
committer
sapier
<Sapier at GMX dot net>
Sat, 21 Jun 2014 22:05:41 +0000
(
00:05
+0200)
src/server.cpp
patch
|
blob
|
history
diff --git
a/src/server.cpp
b/src/server.cpp
index 7c4c48c48f352dacf8de98cb78033dfc15867d73..54a139849e554bb0edb45ceef6a965fe10b03054 100644
(file)
--- 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