bug6225: trying with a catch (Throwable e) to also catch and log all Errors

This commit is contained in:
Axel Uhl committed 2026-04-14 14:54:37 +02:00
1 parent 486efe3bbe
commit 19d7771ed7
1 file changed
+1 -1
@@ -169,7 +169,7 @@ public class ArchiveCandidateMonitoringBackgroundTask implements Runnable {
} else {
rescheduleCurrentCheckAfterFailureOrTimeout();
}
} catch (Exception e) {
} catch (Throwable e) {
logger.warning("Exception while running check \"" + currentCheck + "\" for candidate " + replicaSet.getMaster().getHost().getHostname() + ": " + e.getMessage());
currentCheck.setLastFailureMessage(e.getMessage()==null?e.getClass().getSimpleName():e.getMessage());
try {