Logged the 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-283
Change-Id: Ib8da04a35c062cb49e5030ab286fc9e13c3fbc89
Issue-ID: DMAAP-234
Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
return response;
} catch (Exception e) {
return response;
} catch (Exception e) {
+ logger.error(" Exception Occered " + e);
return "ERROR:" + e.getLocalizedMessage();
}
}
return "ERROR:" + e.getLocalizedMessage();
}
}