Repository navigation
Fix/missing exceptions - #1384
Conversation
Replaced protected state methods (scheduled, etc.) with lambdas in the constructor Replaced try-multi-catch with if-instanceof in onFailed-lambda
Added error logging to VaultStats and GeneralPreferencesController Fixed possible missing error logging in VaultService
Added UI error message to GeneralPreferencesController for ToggleAutoStartTask Added UI error message to RecoveryKeyCreationController
|
The failed check in eb8f5f5 was a false positive by Snyk. |
overheadhunter
left a comment
There was a problem hiding this comment.
Please use the listeners ONLY for behaviour, that you'd be ok with being overwritten by others.
|
As a general advice: Try to keep PRs focused on the thing you want to implement/fix/change. The more code you change, that is irrelevant to the PR's cause, the more likely you introduce undesired change and the longer the process takes. |
infeo
left a comment
There was a problem hiding this comment.
A good thing, that if an error appears the user will get informed with this PR!
But as pointed out by overheadhunter: Try to focus the PR on the goal it was initally created for. 😉
Apologies. I was aiming to generally improve the error handling in the given places instead of just adding the listeners. |
There was a problem hiding this comment.
I hope i don't nag too much, but what is the reason for the 3 or 4 private constructors (e.g. in the RecoveryKeyCreationController.RecoveryKeyCreationTask ? If it is for the sake of completeness, I suggest to remove them to keep the code clean. On the other hand, if later someone edits them, they directly see what is possible... but thats just a maybe.
Edit: Nevemind, had a wrong understanding 😅
Closes #1276