diff options
author | Surendra Reddy Katam <SK00524980@techmahindra.com> | 2018-03-26 14:48:59 +0530 |
---|---|---|
committer | Surendra Reddy Katam <SK00524980@techmahindra.com> | 2018-03-26 14:48:59 +0530 |
commit | b314776707d26fa612e85a045d924c35feec4d2d (patch) | |
tree | 3fc8d173e45a7f257c01b778cc745c0b7e2e7105 | |
parent | 8c97df99eb091e188e1263cadc7f8a2007cb1612 (diff) |
Sonar critical issues
Either log or rethrow this exception
Sonar Link:
https://sonar.onap.org/project/issues?id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbSj32hFUzlqc5fB&resolved=false&severities=CRITICAL
Location:
src/main/java/com/att/nsa/mr/dme/client/PreferredRouteRequestHandler.java
Line No-49
Change-Id: I9444319b53f42ba87e5f99b43cbeb16a9692ab04
Issue-ID: DMAAP-343
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
-rw-r--r-- | src/main/java/com/att/nsa/mr/dme/client/PreferredRouteRequestHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/att/nsa/mr/dme/client/PreferredRouteRequestHandler.java b/src/main/java/com/att/nsa/mr/dme/client/PreferredRouteRequestHandler.java index 85b6126..fbc32a7 100644 --- a/src/main/java/com/att/nsa/mr/dme/client/PreferredRouteRequestHandler.java +++ b/src/main/java/com/att/nsa/mr/dme/client/PreferredRouteRequestHandler.java @@ -47,7 +47,7 @@ public class PreferredRouteRequestHandler implements DME2ExchangeRequestHandler MRClientFactory.prop.load(MRClientFactory.routeReader); } catch (Exception ex) { - logger.error("Request Router Error " + ex.toString()); + logger.error("Request Router Error " + ex); } return MRClientFactory.prop.getProperty(routeKey); } |