From d79939ffbe4396a8be9e5dbffb77f8b8efe1d3e8 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Fri, 3 Apr 2015 00:18:51 +0200 Subject: debug messages --- synchronizer/listener.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'synchronizer') diff --git a/synchronizer/listener.cpp b/synchronizer/listener.cpp index 377c658..2e1e918 100644 --- a/synchronizer/listener.cpp +++ b/synchronizer/listener.cpp @@ -254,11 +254,13 @@ void Listener::processCommand(int commandId, uint messageId, Client &client, uin break; default: if (commandId > Akonadi2::Commands::CustomCommand) { + Log() << QString("\tReceived custom command from %1: ").arg(client.name) << commandId; loadResource(); if (m_resource) { m_resource->processCommand(commandId, client.commandBuffer, size, m_pipeline); } } else { + Warning() << QString("\tReceived invalid command from %1: ").arg(client.name) << commandId; //TODO: handle error: we don't know wtf this command is } break; -- cgit v1.2.3