diff options
author | Dushyant Singh Thakur <dt00503496@techmahindra.com> | 2018-02-26 12:03:32 +0530 |
---|---|---|
committer | Dushyant Singh Thakur <dt00503496@techmahindra.com> | 2018-02-26 12:03:32 +0530 |
commit | 9ca85a2b198d41d6e304f493ffe4447c40eaf45c (patch) | |
tree | e7c75c07418b09e9a37ff00c545f209aa96f9690 /src | |
parent | 3d4e12d9293a7a3ca3cceb03289d11497ccbff38 (diff) |
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 <dt00503496@techmahindra.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/att/nsa/cambria/service/impl/MMServiceImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |