summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorSoumendu Sekhar Acharya <sa00498080@techmahindra.com>2018-02-06 11:00:40 +0530
committerSoumendu Sekhar Acharya <SA00498080@techmahindra.com>2018-02-07 05:39:50 +0000
commitede60c920b3df4405661fbdf8fd1c3c6ddbad282 (patch)
tree400c516990b35a7381830eda16d6445802648478 /src/main
parent2ec55ee705d6e7467e30beadabb62edb81a666c2 (diff)
sonar critical for Exception Handling
Logged the 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-253 Change-Id: I76fcbf49e80c4a7e007c214ffa21dd9199813d51 Issue-ID: DMAAP-233 Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java b/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java
index 5da4dba..7e28f52 100644
--- a/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java
+++ b/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java
@@ -253,6 +253,7 @@ public class MirrorMakerAgent {
return topicMessage[0];
}
} catch (Exception e) {
+ logger.error(" Exception Occered " + e);
return "ERROR:" + e.getMessage() + " Server Response is:" + response;
}
return null;