From 9ca85a2b198d41d6e304f493ffe4447c40eaf45c Mon Sep 17 00:00:00 2001 From: Dushyant Singh Thakur Date: Mon, 26 Feb 2018 12:03:32 +0530 Subject: sonar critical for error handling 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 --- src/main/java/com/att/nsa/cambria/service/impl/MMServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/com/att') diff --git a/src/main/java/com/att/nsa/cambria/service/impl/MMServiceImpl.java b/src/main/java/com/att/nsa/cambria/service/impl/MMServiceImpl.java index 4f6a9a1..7fe1eac 100644 --- a/src/main/java/com/att/nsa/cambria/service/impl/MMServiceImpl.java +++ b/src/main/java/com/att/nsa/cambria/service/impl/MMServiceImpl.java @@ -214,7 +214,7 @@ public class MMServiceImpl implements MMService { try { coes.write(baos); } catch (Exception ex) { - + LOG.error("Exception at subscribe(.......): " + ex); } c.commitOffsets(); -- cgit 1.2.3-korg