summary refs log tree commit diff
path: root/synapse/handlers/message.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-02-13 14:37:30 +0000
committerErik Johnston <erik@matrix.org>2015-02-13 14:37:30 +0000
commit49eb11530c527c231a7f6d3c3658f9df059b62b3 (patch)
treea501e603d51850bf7479176dd5251f7b56efbc71 /synapse/handlers/message.py
parentBump version (diff)
parentBump version (diff)
downloadsynapse-49eb11530c527c231a7f6d3c3658f9df059b62b3.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse v0.7.0c
Diffstat (limited to 'synapse/handlers/message.py')
-rw-r--r--synapse/handlers/message.py15
1 files changed, 4 insertions, 11 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py
index b00380387d..7b9685be7f 100644
--- a/synapse/handlers/message.py
+++ b/synapse/handlers/message.py
@@ -385,17 +385,10 @@ class MessageHandler(BaseHandler):
                     as_event=True,
                 )
                 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
-                    )
+            except SynapseError:
+                logger.exception(
+                    "Failed to get member presence of %r", m.user_id
+                )
 
         time_now = self.clock.time_msec()