Sonar critical issues 49/42949/1
authorSurendra Reddy Katam <SK00524980@techmahindra.com>
Mon, 16 Apr 2018 06:40:43 +0000 (12:10 +0530)
committerSurendra Reddy Katam <SK00524980@techmahindra.com>
Mon, 16 Apr 2018 06:40:43 +0000 (12:10 +0530)
 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-Vakn32hFUzlqc5yQ&resolved=false&severities=CRITICAL
Location:
src/main/java/com/att/nsa/cambria/service/impl/MMServiceImpl.java
Line No-237

Change-Id: I309316b9c90fecc9a0cf44c9f54ce6521cdc0b57
Issue-ID: DMAAP-411
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
src/main/java/com/att/nsa/cambria/service/impl/MMServiceImpl.java

index 7fe1eac..da024f1 100644 (file)
@@ -235,6 +235,7 @@ public class MMServiceImpl implements MMService {
 
                        throw excp;
                } catch (Exception excp) {
+                       LOG.error(excp.toString());
 
                        ctx.getConfigReader().getfConsumerFactory().destroyConsumer(topic, consumerGroup, clientId);