summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorSoumendu Sekhar Acharya <sa00498080@techmahindra.com>2018-02-08 17:24:50 +0530
committerSoumendu Sekhar Acharya <sa00498080@techmahindra.com>2018-02-08 17:24:50 +0530
commit3cc7451e248e499429d0adf286277308e047a6ff (patch)
treee5b705c322815071b132890b6b899b3658e69857 /src/main/java
parent02120d6ea475ddb4cf4de2d5104dbd48426bc4ee (diff)
sonar critical for Exception handling
Use a logger to 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-487 Change-Id: I41bc3b331f9f42278b28c0b22b6808f1b2fcd0f3 Issue-ID: DMAAP-244 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 cd571a9..77e4789 100644
--- a/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java
+++ b/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java
@@ -494,7 +494,7 @@ public class MirrorMakerAgent {
Thread.currentThread().interrupt();
}
} catch (IOException ex) {
- ex.printStackTrace();
+ logger.error("Exception at updateWhiteList : " + ex);
} finally {
if (out != null) {
try {