From 7d362cae1a46424b402e88a5271d00eeebdef175 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Fri, 19 Jan 2024 22:29:29 +0100 Subject: [PATCH] FIX: Redis pub/sub error can also raise a `ValueError` on close. --- platypush/backend/http/app/mixins/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/backend/http/app/mixins/__init__.py b/platypush/backend/http/app/mixins/__init__.py index b036e1e0d..2c97cb451 100644 --- a/platypush/backend/http/app/mixins/__init__.py +++ b/platypush/backend/http/app/mixins/__init__.py @@ -125,7 +125,7 @@ class PubSubMixin: continue yield Message(data=msg.get('data', b''), channel=channel) - except (AttributeError, RedisConnectionError): + except (AttributeError, ValueError, RedisConnectionError): return def _pubsub_close(self):