[telepathy-mission-control/master] Debug when ObserveChannels succeeds, as well as when it fails
Simon McVittie
simon.mcvittie at collabora.co.uk
Wed Sep 2 04:20:35 PDT 2009
---
src/mcd-dispatcher.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/mcd-dispatcher.c b/src/mcd-dispatcher.c
index 1ab97e1..719ab4e 100644
--- a/src/mcd-dispatcher.c
+++ b/src/mcd-dispatcher.c
@@ -1028,7 +1028,10 @@ observe_channels_cb (TpClient *proxy, const GError *error,
/* we display the error just for debugging, but we don't really care */
if (error)
- DEBUG ("Observer returned error: %s", error->message);
+ DEBUG ("Observer %s returned error: %s",
+ tp_proxy_get_object_path (proxy), error->message);
+ else
+ DEBUG ("success from %s", tp_proxy_get_object_path (proxy));
if (context->operation)
{
--
1.5.6.5
More information about the telepathy-commits
mailing list