summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorSoumendu Sekhar Acharya <sa00498080@techmahindra.com>2017-12-22 09:23:59 +0530
committerSoumendu Sekhar Acharya <sa00498080@techmahindra.com>2017-12-22 09:23:59 +0530
commit6d6eebcf7049dcbc906eb5104e49a72d52450ea6 (patch)
tree131ebf21c34c8673e164fef08bc73c670b6eca95 /src/main
parentaf8e686dff75ce1df3d97e08f802c785682d040f (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-117 Change-Id: I32bbe894fdb6584ae80f616297d6451238ce8357 Issue-ID: DMAAP-197 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 88b88a3..4e9de52 100644
--- a/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java
+++ b/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java
@@ -115,7 +115,7 @@ public class MirrorMakerAgent {
}
logger.info("kakahome is set :" + kafkahome);
} catch (IOException ex) {
- logger.error(kafkahome + "/bin/kafka-run-class.sh not found. Make sure kafka home is set correctly");
+ logger.error(kafkahome + "/bin/kafka-run-class.sh not found. Make sure kafka home is set correctly" + ex);
return false;
} finally {
if (input != null) {