Merge "sonar critical for Exception handling"
authorvarun gudisena <vg411h@att.com>
Tue, 6 Feb 2018 14:25:32 +0000 (14:25 +0000)
committerGerrit Code Review <gerrit@onap.org>
Tue, 6 Feb 2018 14:25:32 +0000 (14:25 +0000)
src/main/java/com/att/nsa/dmaapMMAgent/MirrorMakerAgent.java

index 1972d54..37236f3 100644 (file)
@@ -167,7 +167,7 @@ public class MirrorMakerAgent {
                                prop.store(out, "");
 
                        } catch (Exception e) {
-                               e.printStackTrace();
+                               logger.error("Exception at checkPropertiesFile " +e);
                        }
                } finally {
                        if (input != null) {