No need to be verbose upon Pushbullet websocket temporary disconnections
This commit is contained in:
parent
ef241b3769
commit
f53d1c06dc
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue