summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorvarun gudisena <vg411h@att.com>2018-02-06 14:25:11 +0000
committerGerrit Code Review <gerrit@onap.org>2018-02-06 14:25:11 +0000
commit990f74107df811cbf04c88e892b763bf522ff5b2 (patch)
tree65a86ac72ed1c061fcb74d195ab30aa57cdb68de /src
parentc4999261363c42758b50b31d33f910c5344fb339 (diff)
parentade4717bf9e099df0be7a53914f1c91d8575f463 (diff)
Merge "sonar critical for Exception handling"
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java3
1 files changed, 2 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 3efbf4f..341e6bd 100644
--- a/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java
+++ b/src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java
@@ -102,7 +102,7 @@ public class MirrorMakerAgent {
try {
input.close();
} catch (IOException e) {
- logger.error("IOException" + e);
+ logger.error(" IOException occers " + e);
}
}
}
@@ -492,6 +492,7 @@ public class MirrorMakerAgent {
out.close();
} catch (IOException e) {
e.printStackTrace();
+ logger.error("IOException occered " + e);
}
}
}