diff options
author | 2018-04-10 12:49:21 +0530 | |
---|---|---|
committer | 2018-04-10 12:49:21 +0530 | |
commit | 253c2dac6b0b58224dcb4b869d93e42de4619050 (patch) | |
tree | 037147ed9a3ef9acc2420a34ef6305ac58dc5f50 /src/main/java/com | |
parent | acdf334dbe2304c116aa9101125955d3ca9dabb5 (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-VabL32hFUzlqc5nJ&resolved=false&severities=CRITICAL
Location:
src/main/java/com/att/nsa/cambria/backends/kafka/KafkaConsumerCache.java
Line No-404
Change-Id: Ibd2bbb3d4ece97921a9c3dffa02562c5591cf841
Issue-ID: DMAAP-401
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
Diffstat (limited to 'src/main/java/com')
-rw-r--r-- | src/main/java/com/att/nsa/cambria/backends/kafka/KafkaConsumerCache.java | 2 |
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 84720f3..627a433 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 @@ -403,7 +403,7 @@ public class KafkaConsumerCache { } catch (NoNodeException e) { log.error("Exception at : " + e); } catch (Exception e) { - log.debug("Unexpected exception while deleting consumer: " + e.getMessage()); + log.error("Unexpected exception while deleting consumer: " + e); } log.info("Dropped " + key + " consumer due to timeout"); |