No need to be verbose upon Pushbullet websocket temporary disconnections

This commit is contained in:
Fabio Manganiello 2018-12-24 14:33:27 +01:00
parent ef241b3769
commit f53d1c06dc

View file

@ -152,7 +152,9 @@ class PushbulletBackend(Backend):
try: try:
push = await self.ws.recv() push = await self.ws.recv()
except Exception as e: except Exception as e:
self.logger.exception(e) self.logger.warning('Disconnected from ' +
'Pushbullet: {}'.
format(str(e)))
break break
self.on_push(self.ws, push) self.on_push(self.ws, push)