Skip to content

Commit

Permalink
Log remaining hidden exception in JedisFactory (#2502)
Browse files Browse the repository at this point in the history
  • Loading branch information
sazzad16 committed Apr 11, 2021
1 parent 8619828 commit c5b745f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/redis/clients/jedis/JedisFactory.java
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ public boolean validateObject(PooledObject<Jedis> pooledJedis) {
&& port == connectionPort && jedis.isConnected()
&& jedis.ping().equals("PONG");
} catch (final Exception e) {
logger.error("Error while validating pooled Jedis object.", e);
return false;
}
}
Expand Down

0 comments on commit c5b745f

Please sign in to comment.