mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-28 22:26:16 -05:00
Catch all exceptions when creating a pusher
This commit is contained in:
parent
2df75de505
commit
92f0f3d21d
@ -186,8 +186,8 @@ class PusherPool:
|
||||
for pusherdict in pushers:
|
||||
try:
|
||||
p = pusher.create_pusher(self.hs, pusherdict)
|
||||
except PusherConfigException:
|
||||
logger.exception("Couldn't start a pusher: caught PusherConfigException")
|
||||
except:
|
||||
logger.exception("Couldn't start a pusher: caught Exception")
|
||||
continue
|
||||
if p:
|
||||
appid_pushkey = "%s:%s" % (
|
||||
|
Loading…
Reference in New Issue
Block a user