summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorDushyant Singh Thakur <dt00503496@techmahindra.com>2018-02-09 16:35:08 +0530
committerDushyant Singh Thakur <dt00503496@techmahindra.com>2018-02-09 16:35:08 +0530
commit50a1633efbca93d66beb573ea41af17729f3cfa7 (patch)
tree68fe1658f599a0a9c9ec7be303aeb24eab1120db /src/main
parent84c9ee81ae531e116f627a26faddd669e218eb78 (diff)
sonar critical for error handling
Either log or rethrow this exception Sonar Link: https://sonar.onap.org/component_issues?id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr#resolved=false|assignees=dthakur Location: src/main/java/com/att/nsa/cambria/backends/kafka/KafkaConsumerCache.java Line No-292 Change-Id: I27845ea69afee33f028d4cd5dc1da807122a14bf Issue-ID: DMAAP-287 Signed-off-by: Dushyant Singh Thakur <dt00503496@techmahindra.com>
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 7b6e048..29a6847 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
@@ -290,7 +290,7 @@ public class KafkaConsumerCache {
} catch (ZkInterruptedException e) {
log.error("Curator client close interrupted: " + e);
} catch (IOException e) {
- log.warn("Error while closing curator PathChildrenCache for KafkaConsumerCache" + e.getMessage());
+ log.error("Error while closing curator PathChildrenCache for KafkaConsumerCache" + e);
}
curatorConsumerCache = null;