diff --git a/ranger-core/src/main/java/com/flipkart/ranger/core/finder/ServiceRegistryUpdater.java b/ranger-core/src/main/java/com/flipkart/ranger/core/finder/ServiceRegistryUpdater.java index 4c361a1e..3681d0d6 100644 --- a/ranger-core/src/main/java/com/flipkart/ranger/core/finder/ServiceRegistryUpdater.java +++ b/ranger-core/src/main/java/com/flipkart/ranger/core/finder/ServiceRegistryUpdater.java @@ -113,7 +113,7 @@ private Void queryExecutor() { } catch (InterruptedException e) { log.info("Updater thread interrupted"); - Exceptions.illegalState(e); + Thread.currentThread().interrupt(); } catch (Exception e) { log.error("Registry update failed for service: " + serviceRegistry.getService().name(), e);