...
|
...
|
@@ -59,7 +59,7 @@ public class RedisLoadingCache<K, V> extends AbstractLoadingCache<K, V> implemen |
|
|
try {
|
|
|
value = valueOperations.get(key);
|
|
|
} catch (Exception e) {
|
|
|
log.warn("redis get fail, key {}", key.getKey());
|
|
|
log.warn("redis get fail, key {}", key.getKey(), e);
|
|
|
value = null;
|
|
|
}
|
|
|
if (value == null) {
|
...
|
...
|
@@ -122,7 +122,7 @@ public class RedisLoadingCache<K, V> extends AbstractLoadingCache<K, V> implemen |
|
|
try {
|
|
|
valueOperations.set(keyBuilder, valueBytes, timeout, unit);
|
|
|
} catch (Exception e) {
|
|
|
log.warn("redis set fail, key {}", keyBuilder.getKey());
|
|
|
log.warn("redis set fail, key {}", keyBuilder.getKey(), e);
|
|
|
// ignore
|
|
|
}
|
|
|
}
|
...
|
...
|
|