"Can't aquire connection" error should be more informative

pull/1025/head
Nikita 8 years ago
parent b573eadd80
commit 048271f69e

@ -204,7 +204,7 @@ abstract class ConnectionPool<T extends RedisConnection> {
} }
RedisConnectionException exception = new RedisConnectionException( RedisConnectionException exception = new RedisConnectionException(
"Can't aquire connection to " + entry.getClient().getAddr()); "Can't aquire connection to " + entry);
return connectionManager.newFailedFuture(exception); return connectionManager.newFailedFuture(exception);
} }

Loading…
Cancel
Save