diff options
author | Chandan Ghosh <cghosh12@in.ibm.com> | 2019-01-04 12:39:42 +0530 |
---|---|---|
committer | Chandan Ghosh <cghosh12@in.ibm.com> | 2019-01-04 12:39:53 +0530 |
commit | 08234869b6e0052f312a6bb04d9cd8df7f6c252e (patch) | |
tree | 8e0ed0eadf0f0c65abd1895226bf0557fbd1eda9 | |
parent | b07822276c0bba8896d05555094c6e53f69ca2fb (diff) |
Added logger for exception log
Added logger for exception log. Reported in sonar
Issue-ID: DMAAP-927
Change-Id: If3cf309c84ad931715f007a68747a51142f0db15
Signed-off-by: Chandan Ghosh <cghosh12@in.ibm.com>
-rw-r--r-- | src/main/java/org/onap/dmaap/mr/dmaapMMAgent/utils/MirrorMakerProcessHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/onap/dmaap/mr/dmaapMMAgent/utils/MirrorMakerProcessHandler.java b/src/main/java/org/onap/dmaap/mr/dmaapMMAgent/utils/MirrorMakerProcessHandler.java index 21a3974..5246ce9 100644 --- a/src/main/java/org/onap/dmaap/mr/dmaapMMAgent/utils/MirrorMakerProcessHandler.java +++ b/src/main/java/org/onap/dmaap/mr/dmaapMMAgent/utils/MirrorMakerProcessHandler.java @@ -97,7 +97,7 @@ public class MirrorMakerProcessHandler { // } } } catch (Exception e) { - e.printStackTrace(); + logger.error("Error occured in MirrorMakerProcessHandler.checkMirrorMakerProcess"+e); } return false; } |