RedisTimeoutException message fixed

pull/1461/head
Nikita 7 years ago
parent 1e1e01af7e
commit 7da772d684

@ -539,7 +539,7 @@ public class CommandAsyncService implements CommandAsyncExecutor {
if (details.getWriteFuture() != null && details.getWriteFuture().cancel(false)) {
if (details.getException() == null) {
details.setException(new RedisTimeoutException("Unable to send command! "
+ "Node source: " + source + ", connection: " + details.getConnectionFuture().getNow().getChannel()
+ "Node source: " + source + ", connection: " + details.getConnectionFuture().getNow()
+ ", command: " + command + ", command params: " + LogHelper.toString(details.getParams())
+ " after " + connectionManager.getConfig().getRetryAttempts() + " retry attempts"));
}

Loading…
Cancel
Save