aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSurendra Reddy Katam <SK00524980@techmahindra.com>2018-03-22 10:14:00 +0530
committerSurendra Reddy Katam <SK00524980@techmahindra.com>2018-03-22 10:16:15 +0530
commitc8c6162543377b14ab576960dc1e3517f78bbfbf (patch)
tree8b66c211df442d072c20a437a944d8ed27277f9b
parente2e093ee2fd0ac75491bf6ce060339b19b4a7039 (diff)
Sonar critila 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=AWEpWaiA-08if2a6yEW5&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/mr/client/impl/MRConsumerImpl.java Line No-258 Change-Id: Ia92c5b8cb5d31206502de2f8b2bacb85af2184e9 Issue-ID: DMAAP-339 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
-rw-r--r--src/main/java/com/att/nsa/mr/client/impl/MRConsumerImpl.java1
1 files changed, 1 insertions, 0 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 78f37fc..185371b 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
@@ -258,6 +258,7 @@ public class MRConsumerImpl extends MRBaseClient implements MRConsumer {
} catch (JSONException e) {
// unexpected response
reportProblemWithResponse();
+ log.error("exception: ", e);
} catch (HttpException e) {
throw new IOException(e);
}