Skip to content

Commit 22f3f0f

Browse files
committed
more logging
1 parent 8ad833d commit 22f3f0f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/redis/clients/jedis/JedisFactory.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,12 @@ public PooledObject<Jedis> makeObject() throws Exception {
146146
try {
147147
jedis.quit();
148148
} catch (Exception e) {
149+
logger.warn("Error while QUIT", e);
149150
}
150151
try {
151152
jedis.close();
152153
} catch (Exception e) {
154+
logger.warn("Error while close", e);
153155
}
154156
}
155157
throw je;

0 commit comments

Comments
 (0)