diff options
author | David Baker <dave@matrix.org> | 2016-05-04 11:24:07 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2016-05-04 11:24:07 +0100 |
commit | 92f0f3d21d52ae14a3d4d4536a84055b92d228ae (patch) | |
tree | f094ec8cf87f2021653d19c48dc3e54492cf475c | |
parent | Merge remote-tracking branch 'origin/develop' into dbkr/email_notifs (diff) | |
download | synapse-92f0f3d21d52ae14a3d4d4536a84055b92d228ae.tar.xz |
Catch all exceptions when creating a pusher
-rw-r--r-- | synapse/push/pusherpool.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/push/pusherpool.py b/synapse/push/pusherpool.py index 7fef2fb6f7..66eafb69d8 100644 --- a/synapse/push/pusherpool.py +++ b/synapse/push/pusherpool.py @@ -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" % ( |