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
1 changed files with 3 additions and 1 deletions

View File

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