summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mcd-dispatcher.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/mcd-dispatcher.c b/src/mcd-dispatcher.c
index 54aa4db8..6a675ddb 100644
--- a/src/mcd-dispatcher.c
+++ b/src/mcd-dispatcher.c
@@ -2615,6 +2615,9 @@ try_delegating (ChannelToDelegate *to_delegate)
McdClientProxy *client;
GList *channels = NULL;
+ DEBUG ("%s",
+ mcd_channel_get_object_path (to_delegate->channel));
+
if (g_queue_get_length (to_delegate->handlers) == 0)
{
GValueArray *v;
@@ -2641,13 +2644,17 @@ try_delegating (ChannelToDelegate *to_delegate)
g_strdup (mcd_channel_get_object_path (to_delegate->channel)),
v);
+ DEBUG ("...but failed to delegate it: %s",
+ mcd_channel_get_object_path (to_delegate->channel),
+ to_delegate->error->message);
+
delegation_done (to_delegate);
return;
}
client = g_queue_pop_head (to_delegate->handlers);
- DEBUG ("Try delegating channels to %s", _mcd_client_proxy_get_unique_name (
+ DEBUG ("...trying client %s", _mcd_client_proxy_get_unique_name (
client));
channels = g_list_prepend (channels, to_delegate->channel);
@@ -2721,6 +2728,8 @@ dispatcher_delegate_channels (
guint i;
GList *l;
+ DEBUG ("called");
+
if (!check_preferred_handler (preferred_handler, &error))
goto error;