diff options
author | varun gudisena <vg411h@att.com> | 2018-02-07 16:40:38 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-02-07 16:40:38 +0000 |
commit | 6d61f783b7dbf9cf537703e39afad03a2ac10ddc (patch) | |
tree | 8f2c1ee739e44d4497f142f4fc149f6e965f2cd3 | |
parent | 06c55be75c1a50b186ded150afb394fccb10af58 (diff) | |
parent | cafa251341a017fa619aaf1a34b18c83189b1fe9 (diff) |
Merge changes I38dad052,Ibc26d865
* changes:
sonar critical for Exception Handling
sonar critical for Exception Handling
-rw-r--r-- | src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java b/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java index a187d89..0113f6d 100644 --- a/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java +++ b/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java @@ -447,13 +447,13 @@ public class MirrorMakerAgent { Thread.currentThread().interrupt(); } } catch (IOException ex) { - ex.printStackTrace(); + logger.error(" IOException Occered " + ex); } finally { if (out != null) { try { out.close(); } catch (IOException e) { - e.printStackTrace(); + logger.error(" IOException Occered " + e); } } } |