summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-05-07 09:36:39 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-05-07 09:36:39 +0200
commiteb71e5aa43b11bb615cec0df0ff15558bcc9f3f8 (patch)
tree16899c661fde4139c6023f7e6a6e56366ac8979a
parent45b935c3a47e0dee9965dca00a9acdfc4b5011fa (diff)
_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.
-rw-r--r--src/plugin-account.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugin-account.c b/src/plugin-account.c
index 14b4e443..07c8c08b 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,