Skip to content

Commit

Permalink
Handled interrupted exception properly
Browse files Browse the repository at this point in the history
  • Loading branch information
santanusinha committed Sep 21, 2021
1 parent d0653de commit 52c9f70
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 52c9f70

Please sign in to comment.