aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJegadeesh Babu <jegabab1@in.ibm.com>2019-03-08 17:47:50 +0530
committerTakamune Cho <takamune.cho@att.com>2019-03-12 19:04:25 +0000
commit5eef0d5ce5910417f0a256e1945b316ab6341c16 (patch)
tree565295c8ba321b8994a3dd0f1c1eabf7a2f69198
parent5e62be6ff02e35176178c66cdbb2ea0afa88901c (diff)
Handled exception
Sonar fix Issue-ID: APPC-1526 Change-Id: I04e8425625a4dd2a5561c80d4e685b32a21b6a70 Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
-rw-r--r--appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/main/java/org/onap/appc/adapter/ansible/impl/AnsibleAdapterImpl.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/main/java/org/onap/appc/adapter/ansible/impl/AnsibleAdapterImpl.java b/appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/main/java/org/onap/appc/adapter/ansible/impl/AnsibleAdapterImpl.java
index 131448037..91125b0ac 100644
--- a/appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/main/java/org/onap/appc/adapter/ansible/impl/AnsibleAdapterImpl.java
+++ b/appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/src/main/java/org/onap/appc/adapter/ansible/impl/AnsibleAdapterImpl.java
@@ -536,7 +536,8 @@ public class AnsibleAdapterImpl implements AnsibleAdapter {
try {
Thread.sleep(defaultPollInterval);
} catch (InterruptedException ex) {
-
+ logger.error("Thread Interrupted Exception", ex);
+ Thread.currentThread().interrupt();
}
}