Skip to content

Commit

Permalink
Make codacy happy
Browse files Browse the repository at this point in the history
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
  • Loading branch information
HenrikJannsen committed Dec 21, 2022
1 parent 2a0f553 commit 012c4fd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions core/src/main/java/bisq/core/dao/node/full/RpcService.java
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,14 @@ public void onFailure(@NotNull Throwable throwable) {
});
}
}, MoreExecutors.directExecutor());
} catch (Exception e) {
if (!shutdownInProgress || !(e instanceof RejectedExecutionException)) {
} catch (RejectedExecutionException e) {
if (!shutdownInProgress) {
log.warn(e.toString(), e);
throw e;
}
} catch (Exception e) {
log.warn(e.toString(), e);
throw e;
}
}

Expand Down

0 comments on commit 012c4fd

Please sign in to comment.