diff options
author | Surendra Reddy Katam <SK00524980@techmahindra.com> | 2018-04-11 14:56:59 +0530 |
---|---|---|
committer | Surendra Reddy Katam <SK00524980@techmahindra.com> | 2018-04-11 14:56:59 +0530 |
commit | 4759561f434e44851470aa8ab3c580cfe3992521 (patch) | |
tree | e7eee03568893ebd46c7d7901480c65c8ad4c4d2 /src/main/java/com/att | |
parent | 6e45675f3b3bda362fa1252e43eb1307cac5b1d4 (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-VabL32hFUzlqc5nK&resolved=false&severities=CRITICAL
Location:
src/main/java/com/att/nsa/cambria/backends/kafka/KafkaConsumerCache.java
Line No-523
Change-Id: Id475b0aaf8d7a877a4b9c3487fd9980f97eb55e6
Issue-ID: DMAAP-403
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
Diffstat (limited to 'src/main/java/com/att')
-rw-r--r-- | src/main/java/com/att/nsa/cambria/backends/kafka/KafkaConsumerCache.java | 1 |
1 files changed, 1 insertions, 0 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 627a433..ea38273 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 @@ -522,6 +522,7 @@ public class KafkaConsumerCache { try { curator.setData().forPath(consumerPath, fApiId.getBytes()); } catch (KeeperException.NoNodeException e) { + log.error(e.toString()); curator.create().creatingParentsIfNeeded().forPath(consumerPath, fApiId.getBytes()); } |