summaryrefslogtreecommitdiff
path: root/src/apscheduler/eventbrokers/async_redis.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/apscheduler/eventbrokers/async_redis.py')
-rw-r--r--src/apscheduler/eventbrokers/async_redis.py2
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