Skip to content

Commit

Permalink
Catch all Exceptions when cleaning the queue
Browse files Browse the repository at this point in the history
  • Loading branch information
mreyescdl committed Sep 25, 2024
1 parent e7c837c commit ede861e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/cdlib/mrt/zk/Batch.java
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ public static List<String> deleteCompletedBatches(ZooKeeper client) throws Merri
try {
b.delete(client);
deleted.add(b.id());
} catch (MerrittZKNodeInvalid zni) {
System.err.println("Error cleaning ZK node: " + zni.getMessage());
} catch (KeeperException ke) {
System.err.println("Error cleaning ZK node: " + ke.getMessage());
}
}
}
Expand Down

0 comments on commit ede861e

Please sign in to comment.