Use a logger to log 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-487
Change-Id: I41bc3b331f9f42278b28c0b22b6808f1b2fcd0f3
Issue-ID: DMAAP-244
Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
Thread.currentThread().interrupt();
}
} catch (IOException ex) {
- ex.printStackTrace();
+ logger.error("Exception at updateWhiteList : " + ex);
} finally {
if (out != null) {
try {