summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvarun gudisena <vg411h@att.com>2018-02-07 16:40:54 +0000
committerGerrit Code Review <gerrit@onap.org>2018-02-07 16:40:54 +0000
commit2581eff5ba8fecbfc41bfabbd5f4279785679277 (patch)
treedf19349ce12e4be25346d516414a80e87192fa22
parent5bfc6f5403afbb0c442d4f1a377e016c83503091 (diff)
parentc1bd41ae8f3d4984f2d465aa208f43e4c08b18dc (diff)
Merge "sonar critical for Exception Handling"
-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 5c2b669..1c24273 100644
--- a/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java
+++ b/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java
@@ -351,7 +351,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