Skip to content

Commit

Permalink
handle
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelmag110 committed Oct 17, 2024
1 parent bc14e85 commit 944ff4d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ public StoreResult<Boolean> acquireLock(String edrId, DataAddress edr) {
return StoreResult.success(false);
}
} catch (InterruptedException e) {
throw new RuntimeException(e);
Thread.interrupted();
throw new IllegalStateException(e);
} finally {
LOCK.writeLock().unlock();
}
Expand Down

0 comments on commit 944ff4d

Please sign in to comment.