summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorvarun gudisena <vg411h@att.com>2018-02-13 17:40:57 +0000
committerGerrit Code Review <gerrit@onap.org>2018-02-13 17:40:57 +0000
commit2b4684d7086d9b9d28765e0553ee94f67fc9408a (patch)
tree0c77e0a0c95045588e1067d7d1d2bb7b8133c507 /src/main
parentb814d113be0ea00b9a1fcb845bb79c96e720135a (diff)
parent84c9ee81ae531e116f627a26faddd669e218eb78 (diff)
Merge "sonar critical for error handling"
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/att/nsa/cambria/backends/kafka/KafkaConsumerCache.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/att/nsa/cambria/backends/kafka/KafkaConsumerCache.java b/src/main/java/com/att/nsa/cambria/backends/kafka/KafkaConsumerCache.java
index ceb16c6..72358a7 100644
--- a/src/main/java/com/att/nsa/cambria/backends/kafka/KafkaConsumerCache.java
+++ b/src/main/java/com/att/nsa/cambria/backends/kafka/KafkaConsumerCache.java
@@ -288,7 +288,7 @@ public class KafkaConsumerCache {
curatorConsumerCache.close();
log.info("Curator client closed");
} catch (ZkInterruptedException e) {
- log.warn("Curator client close interrupted: " + e.getMessage());
+ log.error("Curator client close interrupted: " + e);
} catch (IOException e) {
log.warn("Error while closing curator PathChildrenCache for KafkaConsumerCache" + e.getMessage());
}