summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSurendra Reddy Katam <SK00524980@techmahindra.com>2018-04-10 11:59:55 +0530
committerSurendra Reddy Katam <SK00524980@techmahindra.com>2018-04-10 11:59:55 +0530
commitacdf334dbe2304c116aa9101125955d3ca9dabb5 (patch)
treeaa138daaf23285123756e69282c9e61a606a432c
parent5098110e253363d55ea444816a13dfa4e99d169b (diff)
Sonar critical issues
Either log or rethrow this exception Sonar Link: https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&open=AV4-Vac632hFUzlqc5ph&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/cambria/beans/DMaaPKafkaConsumerFactory.java Line No-189 Change-Id: Idec33f4ce7e00d5069ea6206a596edd677364f00 Issue-ID: DMAAP-400 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
-rw-r--r--src/main/java/com/att/nsa/cambria/beans/DMaaPKafkaConsumerFactory.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/att/nsa/cambria/beans/DMaaPKafkaConsumerFactory.java b/src/main/java/com/att/nsa/cambria/beans/DMaaPKafkaConsumerFactory.java
index 59dc9bf..02ae109 100644
--- a/src/main/java/com/att/nsa/cambria/beans/DMaaPKafkaConsumerFactory.java
+++ b/src/main/java/com/att/nsa/cambria/beans/DMaaPKafkaConsumerFactory.java
@@ -187,7 +187,7 @@ public class DMaaPKafkaConsumerFactory implements ConsumerFactory {
" String consumerId, int timeoutMs) : " + x);
throw new UnavailableException("Couldn't connect to ZK.");
} catch (KafkaConsumerCacheException e) {
- log.warn("Failed to cache consumer (this may have performance implications): "
+ log.error("Failed to cache consumer (this may have performance implications): "
+ e.getMessage());
} catch (Exception e) {
throw new UnavailableException(