Added interrupt method to notify caller method
[appc.git] / appc-inbound / appc-artifact-handler / provider / src / main / java / org / onap / appc / artifact / handler / ArtifactHandlerProvider.java
index 9ca1f44..3246ef1 100644 (file)
@@ -111,7 +111,10 @@ public class ArtifactHandlerProvider implements AutoCloseable, ArtifactHandlerSe
             checkedFuture.get();
             log.info("Create containers succeeded!");
 
-        } catch (InterruptedException | ExecutionException e) {
+        } catch (InterruptedException e) {
+            log.error("Create containers failed",  e);
+            Thread.currentThread().interrupt();
+        } catch (ExecutionException e) {
             log.error("Create containers failed",  e);
         }
     }