summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorSoumendu Sekhar Acharya <sa00498080@techmahindra.com>2018-02-06 19:41:24 +0530
committerSoumendu Sekhar Acharya <SA00498080@techmahindra.com>2018-02-07 05:39:36 +0000
commitcafa251341a017fa619aaf1a34b18c83189b1fe9 (patch)
tree13bc6f1611faf2ee4cce6688a56dc26253cf2689 /src/main/java
parent3a13f8d241f3e783877afb1951a7f3485f6e4ef4 (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-450 Change-Id: I38dad0528231f124856af864425ccf9b5e01c636 Issue-ID: DMAAP-242 Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java2
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 cf49094..cf395a8 100644
--- a/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java
+++ b/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java
@@ -452,7 +452,7 @@ public class MirrorMakerAgent {
try {
out.close();
} catch (IOException e) {
- e.printStackTrace();
+ logger.error(" IOException Occered " + e);
}
}
}