diff options
author | 2018-02-07 16:40:04 +0000 | |
---|---|---|
committer | 2018-02-07 16:40:04 +0000 | |
commit | 0885495037027c74e440ecc486f6bc45b90ff039 (patch) | |
tree | b391cbdb36b9dfe17821a11ff0e8fd433c79b691 /src/main/java/com/att/nsa | |
parent | 91973c04d5cbba775f0f4272cf385199ec794fa7 (diff) | |
parent | ee1dfd1e6eb368ea821e72ecd11b694d21719490 (diff) |
Merge "sonar critical for error-handling"
Diffstat (limited to 'src/main/java/com/att/nsa')
-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 37236f3..1f7ddc6 100644 --- a/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java +++ b/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java @@ -174,7 +174,7 @@ public class MirrorMakerAgent { try { input.close(); } catch (IOException e) { - e.printStackTrace(); + logger.error("Exception occurred is " +e); } } if (out != null) { @@ -362,7 +362,7 @@ public class MirrorMakerAgent { } } catch (Exception e) { - e.printStackTrace(); + logger.error("Exception is : " +e); } } |