summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSoumendu Sekhar Acharya <sa00498080@techmahindra.com>2018-02-06 11:08:02 +0530
committerSoumendu Sekhar Acharya <SA00498080@techmahindra.com>2018-02-07 05:40:22 +0000
commit16096c2eafd7e0b8cd5ea88065f6da3c392d3d99 (patch)
tree3903bce1720651e6f5c9a19efd3df4546e3ef27d
parentede60c920b3df4405661fbdf8fd1c3c6ddbad282 (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-283 Change-Id: Ib8da04a35c062cb49e5030ab286fc9e13c3fbc89 Issue-ID: DMAAP-234 Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
-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 7e28f52..c175f5b 100644
--- a/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java
+++ b/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java
@@ -284,6 +284,7 @@ public class MirrorMakerAgent {
return response;
} catch (Exception e) {
+ logger.error(" Exception Occered " + e);
return "ERROR:" + e.getLocalizedMessage();
}
}