sonar critical for error handling 35/32835/1
authorDushyant Singh Thakur <dt00503496@techmahindra.com>
Mon, 26 Feb 2018 06:33:32 +0000 (12:03 +0530)
committerDushyant Singh Thakur <dt00503496@techmahindra.com>
Mon, 26 Feb 2018 06:33:32 +0000 (12:03 +0530)
Either log or rethrow this exception
Sonar Link:
https://sonar.onap.org/project/issues?assignees=dthakur&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&resolved=false&severities=CRITICAL
Location:
src/main/java/com/att/nsa/cambria/service/impl/MMServiceImpl.java
Line No-216

Change-Id: Ic0e68af22eb8a4a64d5c8b4709e6592e582cbfcd
Issue-ID: DMAAP-307
Signed-off-by: Dushyant Singh Thakur <dt00503496@techmahindra.com>
src/main/java/com/att/nsa/cambria/service/impl/MMServiceImpl.java

index 4f6a9a1..7fe1eac 100644 (file)
@@ -214,7 +214,7 @@ public class MMServiceImpl implements MMService {
                        try {
                                coes.write(baos);
                        } catch (Exception ex) {
-
+                               LOG.error("Exception at subscribe(.......): " + ex);
                        }
 
                        c.commitOffsets();