summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorSurendra Reddy Katam <SK00524980@techmahindra.com>2018-04-18 20:06:31 +0530
committerSurendra Reddy Katam <SK00524980@techmahindra.com>2018-04-18 20:06:31 +0530
commit3744ebfceb35de70a65c6faeb69d00fc50dca533 (patch)
tree70446b87a6cf92092242ff79174623c433744184 /src/main/java
parent32599ce8a647cc18393d40ccc51ebd59f1b19aca (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.msgrtr%3Amsgrtr&open=AV4-Vakn32hFUzlqc5yP&resolved=false&severities=CRITICAL Location: src/main/java/com/att/nsa/cambria/service/impl/MMServiceImpl.java Line No-225 Change-Id: I5e879cf1f2d1a96ec7207278d9395fa8771c6e6f Issue-ID: DMAAP-429 Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/att/nsa/cambria/service/impl/MMServiceImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/att/nsa/cambria/service/impl/MMServiceImpl.java b/src/main/java/com/att/nsa/cambria/service/impl/MMServiceImpl.java
index da024f1..04cc51c 100644
--- a/src/main/java/com/att/nsa/cambria/service/impl/MMServiceImpl.java
+++ b/src/main/java/com/att/nsa/cambria/service/impl/MMServiceImpl.java
@@ -223,7 +223,7 @@ public class MMServiceImpl implements MMService {
metricsSet.consumeTick(sent);
} catch (UnavailableException excp) {
-
+ LOG.error(excp.toString());
ErrorResponse errRes = new ErrorResponse(HttpStatus.SC_SERVICE_UNAVAILABLE,
DMaaPResponseCode.SERVER_UNAVAILABLE.getResponseCode(),
errorMessages.getServerUnav() + excp.getMessage(), null, Utils.getFormattedDate(new Date()), topic,