Added logger 27/82027/1
authorJegadeesh Babu <jegabab1@in.ibm.com>
Tue, 12 Mar 2019 13:09:54 +0000 (18:39 +0530)
committerJegadeesh Babu <jegabab1@in.ibm.com>
Tue, 12 Mar 2019 13:11:22 +0000 (18:41 +0530)
Sonar fix

Issue-ID: APPC-1532
Change-Id: I6c1ca46e0fb95d4eb41c3b6fd6a8e640ca047a00
Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/main/java/org/onap/appc/adapter/ansible/impl/AnsibleAdapterImpl.java

index 5ac1e88..1314480 100644 (file)
@@ -188,6 +188,7 @@ public class AnsibleAdapterImpl implements AnsibleAdapter {
 
         } catch (Exception e) {
             defaultTimeout = 600 * 1000;
+            logger.error("Error while reading time out property" , e);
         }
         //continuing for checking timeout
         try {
@@ -196,6 +197,7 @@ public class AnsibleAdapterImpl implements AnsibleAdapter {
 
         } catch (Exception e) {
             defaultSocketTimeout = 60 * 1000;
+            logger.error("Error while reading socket time out property" , e);
         }
         //continuing for checking timeout
         try {
@@ -204,6 +206,7 @@ public class AnsibleAdapterImpl implements AnsibleAdapter {
 
         } catch (Exception e) {
             defaultPollInterval = 60 * 1000;
+            logger.error("Error while reading poll interval property" , e);
         }
         logger.info("Initialized Ansible Adapter");
     }