[libsocialweb] lsw-client: better warning message when Query.OpenView() fails
- From: Alban Crequy <albanc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsocialweb] lsw-client: better warning message when Query.OpenView() fails
- Date: Thu, 31 Mar 2011 15:34:56 +0000 (UTC)
commit 6491fce408854c6d1baf7317c915bbebf036ee17
Author: Alban Crequy <alban crequy collabora co uk>
Date: Mon Mar 7 16:41:54 2011 +0000
lsw-client: better warning message when Query.OpenView() fails
libsocialweb-client/sw-client-service.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/libsocialweb-client/sw-client-service.c b/libsocialweb-client/sw-client-service.c
index a1e3710..a6cdba1 100644
--- a/libsocialweb-client/sw-client-service.c
+++ b/libsocialweb-client/sw-client-service.c
@@ -908,7 +908,9 @@ _query_open_view_cb (DBusGProxy *proxy,
if (error)
{
- g_warning (G_STRLOC ": Error callling OpenView: %s",
+ SwClientServicePrivate *priv = GET_PRIVATE (closure->service);
+ g_warning (G_STRLOC ": Error calling OpenView on service %s: %s",
+ priv->name,
error->message);
g_error_free (error);
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]