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