Can now remove the FIXME too
parent
860b1b4841
commit
29805213d1
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue