Fixed - NPE thrown by RedisExecutor

pull/3742/head
Nikita Koksharov 4 years ago
parent 3510d3294f
commit 36491a3042

@ -233,7 +233,9 @@ public class RedisExecutor<V, R> {
if (attempt == attempts) {
// filled out in connectionFuture or writeFuture handler
attemptPromise.tryFailure(exception);
if (exception != null) {
attemptPromise.tryFailure(exception);
}
return;
}
if (!attemptPromise.cancel(false)) {

Loading…
Cancel
Save