Skip to content

Commit 31df601

Browse files
Johan Wallesmina-asham
andauthored
Update src/main/java/redis/clients/jedis/JedisClusterCommand.java
Co-authored-by: Mina Asham <mina.asham@hotmail.com>
1 parent 4f138e4 commit 31df601

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/redis/clients/jedis/JedisClusterCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ private T runWithRetries(final int slot) {
106106
}
107107
}
108108

109-
throw new JedisClusterMaxAttemptsException("No more cluster attempts left.");
109+
throw new JedisClusterMaxAttemptsException("No more cluster attempts left.", lastException);
110110
}
111111

112112
private Supplier<Jedis> handleConnectionProblem(final int slot, int currentAttempt) {

0 commit comments

Comments
 (0)