diff --git a/src/server.cpp b/src/server.cpp index d6768c6a1..3755cd272 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -1231,11 +1231,14 @@ void Server::ProcessData(NetworkPacket *pkt) } handleCommand(pkt); - } - catch(SendFailedException &e) { + } catch (SendFailedException &e) { errorstream << "Server::ProcessData(): SendFailedException: " << "what=" << e.what() << std::endl; + } catch (PacketError &e) { + actionstream << "Server::ProcessData(): PacketError: " + << "what=" << e.what() + << std::endl; } }