diff options
author | varun gudisena <vg411h@att.com> | 2018-02-07 16:40:59 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-02-07 16:40:59 +0000 |
commit | 198d6471a33ea743fa006d34b00144fa94e9092f (patch) | |
tree | 7598e3ab3cbe69d82eca751af4782067733b5b62 /src/main | |
parent | 2581eff5ba8fecbfc41bfabbd5f4279785679277 (diff) | |
parent | 57cc651fd62897fab90085ab94569354c27570d0 (diff) |
Merge "sonar critical for Exception Handling"
Diffstat (limited to 'src/main')
-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 1c24273..e533a72 100644 --- a/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java +++ b/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java @@ -404,7 +404,7 @@ public class MirrorMakerAgent { out = new FileOutputStream(mmagenthome + "/etc/mmagent.config"); mirrorMakerProperties.store(out, ""); } catch (IOException ex) { - ex.printStackTrace(); + logger.error(" IOException Occered " + ex); } finally { if (out != null) { try { |