summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSoumendu Sekhar Acharya <sa00498080@techmahindra.com>2018-02-06 13:51:09 +0530
committerSoumendu Sekhar Acharya <SA00498080@techmahindra.com>2018-02-07 05:40:04 +0000
commitc1bd41ae8f3d4984f2d465aa208f43e4c08b18dc (patch)
treeac62fa7e48918c8b2e57637b09da57fd54ae92e3
parent91973c04d5cbba775f0f4272cf385199ec794fa7 (diff)
sonar critical for Exception Handling
Logged the Exception Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.dmaap.messagerouter.mirroragent%3AdmaapMMAgent#resolved=false|severities=CRITICAL|assignees=Soumendu Location: src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java Line No-346 Change-Id: I45068245347a368e55d3d9ab6edeb0ac57b2514e Issue-ID: DMAAP-235 Signed-off-by: Soumendu Sekhar Acharya <sa00498080@techmahindra.com>
-rw-r--r--src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java b/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java
index 37236f3..8e476cc 100644
--- a/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java
+++ b/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java
@@ -347,7 +347,7 @@ public class MirrorMakerAgent {
} catch (Exception ex) {
connectionattempt++;
if (connectionattempt > 5) {
- logger.info("Can't connect to the topic, mmagent shutting down , " + topicMessage);
+ logger.info("Can't connect to the topic, mmagent shutting down , " + topicMessage + ex);
return;
}
logger.info("Can't connect to the topic, " + topicMessage + " Retrying " + connectionattempt