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>
}
logger.info("kakahome is set :" + kafkahome);
} catch (IOException ex) {
}
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) {
return false;
} finally {
if (input != null) {