Skip to content

Commit

Permalink
do not throw on refreshing of unknown table
Browse files Browse the repository at this point in the history
  • Loading branch information
smiklosovic committed Apr 22, 2022
1 parent 797d33d commit 34c0c5c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -570,8 +570,7 @@ public void execute() throws RestorationPhaseException {
try {
final RefreshOperation op = new RefreshOperation(ctxt.jmx, new RefreshOperationRequest(entry.getKey(), entry.getValue()));
op.run();

if (!op.errors.isEmpty()) {
if (!op.errors.isEmpty() && !op.errors.get(0).throwable.getMessage().contains("Unknown")) {
throw op.errors.get(0).throwable;
}
} catch (final Throwable t) {
Expand Down

0 comments on commit 34c0c5c

Please sign in to comment.