Either log or rethrow this exception
Sonar link:
https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbQ-32hFUzlqc5br&resolved=false&severities=CRITICAL
Location:
src/main/java/com/att/nsa/mr/client/impl/MRConsumerImpl.java
Line No-575
Change-Id: Iec95e1b08f66254cd1e110a08db6ae9828ea2576
Issue-ID: DMAAP-344
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
MRClientFactory.prop.load(new FileReader(new File(MRClientFactory.routeFilePath)));
} catch (Exception ex) {
- log.error("Reply Router Error " + ex.toString());
+ log.error("Reply Router Error " + ex);
}
String routeOffer = MRClientFactory.prop.getProperty(routeKey);
return routeOffer;