Can now remove the FIXME too

pull/72/head
Paul "LeoNerd" Evans 2015-02-12 19:12:57 +00:00
parent 860b1b4841
commit 29805213d1
1 changed files with 3 additions and 10 deletions

View File

@ -386,16 +386,9 @@ class MessageHandler(BaseHandler):
) )
presence.append(member_presence) presence.append(member_presence)
except SynapseError as e: except SynapseError as e:
if e.code == 404: logger.exception(
# FIXME: We are doing this as a warn since this gets hit a "Failed to get member presence of %r", m.user_id
# 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
)
time_now = self.clock.time_msec() time_now = self.clock.time_msec()