diff options
author | Paul "LeoNerd" Evans <paul@matrix.org> | 2015-02-12 19:12:57 +0000 |
---|---|---|
committer | Paul "LeoNerd" Evans <paul@matrix.org> | 2015-02-12 19:13:21 +0000 |
commit | 29805213d1c20c89c20a4b3075c30597b4402338 (patch) | |
tree | f05225e11eb79aa946c1e36d74b513e6d0b93cae /synapse/handlers | |
parent | Only attempt to fetch presence state of JOINed members in room initialSync (S... (diff) | |
download | synapse-29805213d1c20c89c20a4b3075c30597b4402338.tar.xz |
Can now remove the FIXME too
Diffstat (limited to '')
-rw-r--r-- | synapse/handlers/message.py | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py index c6d6188d9d..5f4cc1a84b 100644 --- a/synapse/handlers/message.py +++ b/synapse/handlers/message.py @@ -386,16 +386,9 @@ class MessageHandler(BaseHandler): ) presence.append(member_presence) except SynapseError as e: - if e.code == 404: - # FIXME: We are doing this as a warn since this gets hit a - # lot and spams the logs. Why is this happening? - logger.warn( - "Failed to get member presence of %r", m.user_id - ) - else: - logger.exception( - "Failed to get member presence of %r", m.user_id - ) + logger.exception( + "Failed to get member presence of %r", m.user_id + ) time_now = self.clock.time_msec() |