Catch all exceptions when creating a pusher

This commit is contained in:
David Baker 2016-05-04 11:24:07 +01:00
parent 2df75de505
commit 92f0f3d21d

View File

@ -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" % (