RedisTimeoutException message fixed

pull/297/head
Nikita 9 years ago
parent ef10f0fecb
commit 7a9bb8be3e

@ -438,7 +438,7 @@ public class CommandExecutorService implements CommandExecutor {
}
};
ex.set(new RedisTimeoutException());
ex.set(new RedisTimeoutException("Command execution timeout for " + command + " with params " + Arrays.toString(params)));
final Timeout timeout = connectionManager.getTimer().newTimeout(retryTimerTask, connectionManager.getConfig().getTimeout(), TimeUnit.MILLISECONDS);
final Future<RedisConnection> connectionFuture;

@ -226,7 +226,7 @@ public class RedisCommand<R> {
@Override
public String toString() {
return "RedisCommand [" + name + " " + subName != null ? subName : "" + "]";
return "RedisCommand [" + name + (subName != null ? " " + subName : "") + "]";
}
}

Loading…
Cancel
Save