summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorSoumendu Sekhar Acharya <sa00498080@techmahindra.com>2018-02-05 20:12:41 +0530
committerSoumendu Sekhar Acharya <sa00498080@techmahindra.com>2018-02-05 20:12:41 +0530
commit4274cbc0a245c9394d3799cf9998bd7efa0397bf (patch)
tree6073301910be10e8398014076579d9bf2c86b968 /src/main
parentade4717bf9e099df0be7a53914f1c91d8575f463 (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#assignees=soumendu|resolved=false Location: src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java Line No-154 Change-Id: I68f5386662ef206790329369614d6ba061287cf0 Issue-ID: DMAAP-228 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 8be0aa4..1972d54 100644
--- a/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java
+++ b/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java
@@ -152,6 +152,7 @@ public class MirrorMakerAgent {
}
input = new FileInputStream(mmagenthome + "/etc/" + agentName + propName + ".properties");
} catch (IOException ex) {
+ logger.error(" IOException will be handled " + ex);
try {
input = new FileInputStream(mmagenthome + "/etc/" + propName + ".properties");
Properties prop = new Properties();