-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Blubee continues to backup the items in the 'backup.json' even if there is an error with some item. This is useful as a partial backup is often better than no backup. However, when there are alot of items to backup the error might be hidden in the output and the user may not be aware that something went wrong. Especially if one is using blubee in a script, as the final exit code of blubee will be 0. To avoid this we make sure to detect when ever an item fails to backup and exit with an approperiate exit code, to notify the caller that something went wrong. To make it easier to find the error we also provide some logs that may help the user identify the issue.
- Loading branch information
1 parent
e86e3e5
commit 5c30126
Showing
1 changed file
with
70 additions
and
22 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