summary refs log tree commit diff
path: root/synapse/groups
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/groups')
-rw-r--r--synapse/groups/groups_server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/groups/groups_server.py b/synapse/groups/groups_server.py
index bfa46b7cb2..31fc711876 100644
--- a/synapse/groups/groups_server.py
+++ b/synapse/groups/groups_server.py
@@ -443,10 +443,10 @@ class GroupsServerHandler(object):
                 "user_id": user_id
             }
             try:
-                profile = yield self.profile_handler.get_profile_from_cache(user)
+                profile = yield self.profile_handler.get_profile_from_cache(user_id)
                 user_profile.update(profile)
             except Exception as e:
-                pass
+                logger.warn("Error getting profile for %s: %s", user_id, e)
             user_profiles.append(user_profile)
 
         defer.returnValue({