summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorSoumendu Sekhar Acharya <sa00498080@techmahindra.com>2017-12-22 08:54:16 +0530
committerSoumendu Sekhar Acharya <sa00498080@techmahindra.com>2017-12-22 08:54:16 +0530
commitb0e8b887027d6b67c91cce046e7c0a769b0728b0 (patch)
tree8c7c20b5b06db91c568990493bf37782bb264b43 /src/main
parentc9accc14fcd06871cdb0b1cce28d397a39a32494 (diff)
sonar critical for Exception Handling
Either log or rethrow 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-97 Change-Id: Id59fa4063869733d971d6ae4be9488385a0b2241 Issue-ID: DMAAP-194 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.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 cbe5307..9c74f72 100644
--- a/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java
+++ b/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java
@@ -95,7 +95,7 @@ public class MirrorMakerAgent {
input = new FileInputStream(mmagenthome + "/etc/mmagent.config");
logger.info("mmagenthome is set :" + mmagenthome + " loading properties at /etc/mmagent.config");
} catch (IOException ex) {
- logger.error(mmagenthome + "/etc/mmagent.config not found. Set -DMMAGENTHOME and check the config file");
+ logger.error(mmagenthome + "/etc/mmagent.config not found. Set -DMMAGENTHOME and check the config file" + ex);
return false;
} finally {
if (input != null) {