fix: track and report file restore failures #22
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/restore-error-handling"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Restore previously logged errors for individual files but returned success even if files failed. Now tracks failed files in RestoreResult, reports them in the summary output, and returns an error if any files failed to restore.
Fixes #21
Ran tests via nix-shell. All packages pass except
internal/vaultikwhich has a pre-existing build failure onmain—FetchBlobandFetchAndDecryptBlobmethods are referenced inrestore.goandverify.gobut not defined anywhere. This is unrelated to this PR. My changes introduce no new test failures.Checkout
From your project repository, check out a new branch and test the changes.