aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com/att
diff options
context:
space:
mode:
authorSurendra Reddy Katam <SK00524980@techmahindra.com>2018-03-26 16:15:26 +0530
committerSurendra Reddy Katam <SK00524980@techmahindra.com>2018-03-26 16:15:26 +0530
commit4b673b2dfbc7d6df8f5de8b64d6e08ecac3de6da (patch)
tree336d312283779974c9652e13f76df0ee8a87351f /src/main/java/com/att
parentb314776707d26fa612e85a045d924c35feec4d2d (diff)
Sonar critical issues
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>
Diffstat (limited to 'src/main/java/com/att')
-rw-r--r--src/main/java/com/att/nsa/mr/client/impl/MRConsumerImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/att/nsa/mr/client/impl/MRConsumerImpl.java b/src/main/java/com/att/nsa/mr/client/impl/MRConsumerImpl.java
index c4c4104..b1df8ce 100644
--- a/src/main/java/com/att/nsa/mr/client/impl/MRConsumerImpl.java
+++ b/src/main/java/com/att/nsa/mr/client/impl/MRConsumerImpl.java
@@ -573,7 +573,7 @@ public class MRConsumerImpl extends MRBaseClient implements MRConsumer {
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;