diff options
author | Soumendu Sekhar Acharya <sa00498080@techmahindra.com> | 2018-02-06 19:06:57 +0530 |
---|---|---|
committer | Soumendu Sekhar Acharya <SA00498080@techmahindra.com> | 2018-02-07 05:39:11 +0000 |
commit | 3a13f8d241f3e783877afb1951a7f3485f6e4ef4 (patch) | |
tree | 8d82781472ec818f73d20cbebd458775bf71e5c5 /src | |
parent | eb61336d63865ab0e8319571660b81f7a76fec55 (diff) |
sonar critical for Exception Handling
Log this exception
Sonar Link:
https://sonar.onap.org/component_issues/index?id=org.onap.dmaap.messagerouter.mirroragent%3AdmaapMMAgent#resolved=false|severities=CRITICAL|assignees=Soumendu
Location:
src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java
Line No-444
Change-Id: Ibc26d86578a7d819dbf1138746fe3168cadf2f03
Issue-ID: DMAAP-241
Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java b/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java index 8f189b3..cf49094 100644 --- a/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java +++ b/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java @@ -446,7 +446,7 @@ public class MirrorMakerAgent { Thread.currentThread().interrupt(); } } catch (IOException ex) { - ex.printStackTrace(); + logger.error(" IOException Occered " + ex); } finally { if (out != null) { try { |