diff options
author | 2018-02-06 13:51:09 +0530 | |
---|---|---|
committer | 2018-02-07 05:40:04 +0000 | |
commit | c1bd41ae8f3d4984f2d465aa208f43e4c08b18dc (patch) | |
tree | ac62fa7e48918c8b2e57637b09da57fd54ae92e3 /src/main/java/com | |
parent | 91973c04d5cbba775f0f4272cf385199ec794fa7 (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>
Diffstat (limited to 'src/main/java/com')
-rw-r--r-- | src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java | 2 |
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 |