telepathy-mission-control: _storage_dup_value: add the account to the error debug message
Guillaume Desmottes
gdesmott at kemper.freedesktop.org
Mon May 7 01:24:31 PDT 2012
Module: telepathy-mission-control
Branch: master
Commit: eb71e5aa43b11bb615cec0df0ff15558bcc9f3f8
URL: http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=eb71e5aa43b11bb615cec0df0ff15558bcc9f3f8
Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date: Mon May 7 09:36:39 2012 +0200
_storage_dup_value: add the account to the error debug message
I'm trying to track a bug and having this would have been useful.
---
src/plugin-account.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/plugin-account.c b/src/plugin-account.c
index 14b4e44..07c8c08 100644
--- a/src/plugin-account.c
+++ b/src/plugin-account.c
@@ -589,8 +589,9 @@ _storage_dup_value (McdStorage *storage,
else
{
gchar *message =
- g_strdup_printf ("cannot get property %s, unknown type %s",
- key, g_type_name (type));
+ g_strdup_printf ("cannot get property %s on account %s, "
+ "unknown type %s",
+ key, account, g_type_name (type));
g_warning ("%s: %s", G_STRFUNC, message);
g_set_error (error, MCD_ACCOUNT_ERROR,
More information about the telepathy-commits
mailing list