diff options
Diffstat (limited to 'src/apscheduler/eventbrokers/async_redis.py')
-rw-r--r-- | src/apscheduler/eventbrokers/async_redis.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apscheduler/eventbrokers/async_redis.py b/src/apscheduler/eventbrokers/async_redis.py index c2a5711..5e71621 100644 --- a/src/apscheduler/eventbrokers/async_redis.py +++ b/src/apscheduler/eventbrokers/async_redis.py @@ -80,7 +80,7 @@ class AsyncRedisEventBroker(LocalAsyncEventBroker, DistributedEventBrokerMixin): pubsub = self.client.pubsub() try: await pubsub.subscribe(self.channel) - except Exception: + except BaseException: await self.stop(force=True) raise |