diff options
author | 2018-04-10 11:59:55 +0530 | |
---|---|---|
committer | 2018-04-10 11:59:55 +0530 | |
commit | acdf334dbe2304c116aa9101125955d3ca9dabb5 (patch) | |
tree | aa138daaf23285123756e69282c9e61a606a432c /src/main | |
parent | 5098110e253363d55ea444816a13dfa4e99d169b (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>
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/com/att/nsa/cambria/beans/DMaaPKafkaConsumerFactory.java | 2 |
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( |