diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Common/RequestManager.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Common/RequestManager.cpp b/src/Common/RequestManager.cpp index 66c06b4..82ecd00 100644 --- a/src/Common/RequestManager.cpp +++ b/src/Common/RequestManager.cpp @@ -126,11 +126,9 @@ void RequestManager::receiveHandler(Connection *connection, boost::shared_ptr<co lock.unlock(); - application->logf(Core::Logger::LOG_ERROR, "Received an unexpected packet with type '%s'.", packet->getType().c_str()); - XmlPacket ret; ret.setType("Error"); - ret.set("ErrorCode", Core::Exception::UNEXPECTED_PACKET); + ret.set("ErrorCode", Core::Exception::NOT_IMPLEMENTED); connection->sendPacket(ret, requestId); } |