summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-05-04 11:24:07 +0100
committerDavid Baker <dave@matrix.org>2016-05-04 11:24:07 +0100
commit92f0f3d21d52ae14a3d4d4536a84055b92d228ae (patch)
treef094ec8cf87f2021653d19c48dc3e54492cf475c
parentMerge remote-tracking branch 'origin/develop' into dbkr/email_notifs (diff)
downloadsynapse-92f0f3d21d52ae14a3d4d4536a84055b92d228ae.tar.xz
Catch all exceptions when creating a pusher
-rw-r--r--synapse/push/pusherpool.py4
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" % (