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:
parent
2d97e65558
commit
f72ed6c6a3
1 changed files with 47 additions and 51 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue