forked from platypush/platypush
FIX: Redis pub/sub error can also raise a ValueError
on close.
This commit is contained in:
parent
39d5c48088
commit
7d362cae1a
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ class PubSubMixin:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
yield Message(data=msg.get('data', b''), channel=channel)
|
yield Message(data=msg.get('data', b''), channel=channel)
|
||||||
except (AttributeError, RedisConnectionError):
|
except (AttributeError, ValueError, RedisConnectionError):
|
||||||
return
|
return
|
||||||
|
|
||||||
def _pubsub_close(self):
|
def _pubsub_close(self):
|
||||||
|
|
Loading…
Reference in a new issue