Can now remove the FIXME too

This commit is contained in:
Paul "LeoNerd" Evans 2015-02-12 19:12:57 +00:00
parent 860b1b4841
commit 29805213d1

View File

@ -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()