diff --git a/platypush/backend/pushbullet/listener.py b/platypush/backend/pushbullet/listener.py index e847d17e..84b5a97f 100644 --- a/platypush/backend/pushbullet/listener.py +++ b/platypush/backend/pushbullet/listener.py @@ -30,7 +30,11 @@ class Listener(_Listener): def callback(*_): self.connected = False if self._on_close_hndl: - self._on_close_hndl() + # noinspection PyBroadException + try: + self._on_close_hndl() + except: + pass return callback