summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2010-11-30 18:05:29 +0000
committerWill Thompson <will.thompson@collabora.co.uk>2010-11-30 18:30:08 +0000
commit1164508b9633b352440c880ccccda20f904adf3c (patch)
tree2e5d0549a6283929e9f67a57d16da6af1f539595
parent7a7837cf62c9350e3a1b6cc714b15acee6d67363 (diff)
mc-tool: Improve error message for nonexistant accounts.
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
-rw-r--r--util/mc-tool.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/mc-tool.c b/util/mc-tool.c
index 4073649c..e69c6bb2 100644
--- a/util/mc-tool.c
+++ b/util/mc-tool.c
@@ -1267,10 +1267,10 @@ void account_ready (GObject *account,
GError *error = NULL;
if (!tp_proxy_prepare_finish (account, res, &error)) {
- fprintf (stderr, "%s: %s: %s\n",
- app_name, skip_prefix (command.common.account),
- error->message);
- g_error_free (error);
+ fprintf (stderr, "%s: couldn't load account '%s': %s\n", app_name,
+ skip_prefix (command.common.account), error->message);
+ fprintf (stderr, "Try '%s list' to list known accounts.\n", app_name);
+ g_error_free (error);
}
else {
/* not all properties are exposed through TpAccount, request the