Skip to content

Commit a0097c6

Browse files
sapiersapier
sapier
authored and
sapier
committedJun 21, 2014
Fix uncought deserialization error on receiving data
1 parent f8522d5 commit a0097c6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎src/server.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -1173,6 +1173,11 @@ void Server::Receive()
11731173
"InvalidIncomingDataException: what()="
11741174
<<e.what()<<std::endl;
11751175
}
1176+
catch(SerializationError &e) {
1177+
infostream<<"Server::Receive(): "
1178+
"SerializationError: what()="
1179+
<<e.what()<<std::endl;
1180+
}
11761181
catch(con::PeerNotFoundException &e)
11771182
{
11781183
//NOTE: This is not needed anymore

0 commit comments

Comments
 (0)
Please sign in to comment.