Added/Fixed error logging

Added error logging to VaultStats and GeneralPreferencesController
Fixed possible missing error logging in VaultService
This commit is contained in:
JaniruTEC
2020-10-26 21:17:22 +01:00
parent 253abd4930
commit 9c22adc97d
3 changed files with 7 additions and 2 deletions
@@ -36,6 +36,7 @@ public class VaultStats {
this.updateService = new UpdateStatsService();
updateService.setExecutor(executor);
updateService.setPeriod(Duration.seconds(1));
updateService.setOnFailed(event -> LOG.error("Error in UpdateStateService.", event.getSource().getException()));
state.addListener(this::vaultStateChanged);
}