Called interrupt method on current thread
Issue-ID: APPC-1437
Change-Id: I0dbb8cf01f285c01f96fe4f1c0396999e3361373
Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
checkedFuture.get();
log.info("Create containers succeeded!");
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);
}
}
log.error("Create containers failed", e);
}
}