-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
During backup there are multiple operations that may fail which were ignored. This commit begins to address this issue by forwarding the errors back to the main function that can tell the user if the backup was successful or not. Since `panic()` stops the execution of the program, by returning the error to upper levels we can enable more sophisticated notification modes without worring updating every single function that may fail.
- Loading branch information
1 parent
68db2e5
commit ace6224
Showing
2 changed files
with
101 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.