Skip to content

Commit 42a44f4

Browse files
committed
Sentinel - 2nd connection when failed is not propagate
1 parent b2d21c4 commit 42a44f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/io/vertx/redis/client/impl/RedisSentinelClient.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ public Future<RedisConnection> connect() {
7676
createConnectionInternal(options, RedisRole.SENTINEL, create -> {
7777
if (create.failed()) {
7878
LOG.error("Redis PUB/SUB wrap failed.", create.cause());
79+
promise.fail(create.cause());
7980
return;
8081
}
8182

0 commit comments

Comments
 (0)