Skip to content

Commit

Permalink
Fix code quality
Browse files Browse the repository at this point in the history
  • Loading branch information
HindujaB committed Nov 18, 2024
1 parent 70aebc3 commit 9bb58d8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ private static boolean isModuleDefinedError(BError error) {
public static Object getResult(CompletableFuture<Object> balFuture) {
try {
return balFuture.get();
} catch (InterruptedException e) {
Thread.currentThread().interrupt();
throw ErrorCreator.createError(e);
} catch (Throwable throwable) {
throw ErrorCreator.createError(throwable);
}
Expand Down

0 comments on commit 9bb58d8

Please sign in to comment.