summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorvarun gudisena <vg411h@att.com>2018-02-07 16:40:04 +0000
committerGerrit Code Review <gerrit@onap.org>2018-02-07 16:40:04 +0000
commit0885495037027c74e440ecc486f6bc45b90ff039 (patch)
treeb391cbdb36b9dfe17821a11ff0e8fd433c79b691 /src
parent91973c04d5cbba775f0f4272cf385199ec794fa7 (diff)
parentee1dfd1e6eb368ea821e72ecd11b694d21719490 (diff)
Merge "sonar critical for error-handling"
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java4
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);
}
}