Authored by LUOXC

Merge branch 'hotfix-20181219' into test6.8.4

@@ -59,7 +59,7 @@ public class RedisLoadingCache<K, V> extends AbstractLoadingCache<K, V> implemen @@ -59,7 +59,7 @@ public class RedisLoadingCache<K, V> extends AbstractLoadingCache<K, V> implemen
59 try { 59 try {
60 value = valueOperations.get(key); 60 value = valueOperations.get(key);
61 } catch (Exception e) { 61 } catch (Exception e) {
62 - log.warn("redis get fail, key {}", key.getKey()); 62 + log.warn("redis get fail, key {}", key.getKey(), e);
63 value = null; 63 value = null;
64 } 64 }
65 if (value == null) { 65 if (value == null) {
@@ -122,7 +122,7 @@ public class RedisLoadingCache<K, V> extends AbstractLoadingCache<K, V> implemen @@ -122,7 +122,7 @@ public class RedisLoadingCache<K, V> extends AbstractLoadingCache<K, V> implemen
122 try { 122 try {
123 valueOperations.set(keyBuilder, valueBytes, timeout, unit); 123 valueOperations.set(keyBuilder, valueBytes, timeout, unit);
124 } catch (Exception e) { 124 } catch (Exception e) {
125 - log.warn("redis set fail, key {}", keyBuilder.getKey()); 125 + log.warn("redis set fail, key {}", keyBuilder.getKey(), e);
126 // ignore 126 // ignore
127 } 127 }
128 } 128 }