0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-20 12:24:59 +01:00

Remove debug try/catch

This commit is contained in:
Erik Johnston 2015-08-18 10:29:49 +01:00
parent 2d97e65558
commit f72ed6c6a3

View file

@ -234,7 +234,6 @@ class PresenceHandler(BaseHandler):
@defer.inlineCallbacks @defer.inlineCallbacks
def get_states(self, target_users, auth_user, as_event=False, check_auth=True): def get_states(self, target_users, auth_user, as_event=False, check_auth=True):
try:
local_users, remote_users = partitionbool( local_users, remote_users = partitionbool(
target_users, target_users,
lambda u: self.hs.is_mine(u) lambda u: self.hs.is_mine(u)
@ -289,9 +288,6 @@ class PresenceHandler(BaseHandler):
) )
results[user] = {"type": "m.presence", "content": content} results[user] = {"type": "m.presence", "content": content}
except:
logger.exception(":(")
raise
defer.returnValue(results) defer.returnValue(results)