mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-06 16:06:52 +00:00
Catch all exceptions when creating a pusher
This commit is contained in:
parent
2df75de505
commit
92f0f3d21d
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue