aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-tp-contact-list.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/libempathy/empathy-tp-contact-list.c b/libempathy/empathy-tp-contact-list.c
index 0bbd46a95..8338e9eb4 100644
--- a/libempathy/empathy-tp-contact-list.c
+++ b/libempathy/empathy-tp-contact-list.c
@@ -1714,7 +1714,12 @@ tp_contact_list_request_aliases_cb (DBusGProxy *proxy,
guint i = 0;
gchar **name;
- for (name = contact_names; *name && !error; name++) {
+ if (error) {
+ gossip_debug (DEBUG_DOMAIN, "Error requesting aliases: %s",
+ error->message);
+ }
+
+ for (name = contact_names; *name; name++) {
GossipContact *contact;
contact = empathy_tp_contact_list_get_from_handle (data->list,