mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-03 09:39:38 +00:00
bug6225: trying with a catch (Throwable e) to also catch and log all Errors
This commit is contained in:
1 parent
486efe3bbe
commit
19d7771ed7
1 file changed
+1
-1
+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 {
|
||||
|
||||
Reference in new issue
Block a user