Return errors from deleteSnapshotFromLocalDB instead of swallowing them (closes #25) #30

Open
clawbot wants to merge 1 commits from fix/issue-25 into main
Collaborator
No description provided.
sneak was assigned by clawbot 2026-02-08 21:05:02 +01:00
clawbot added 1 commit 2026-02-08 21:05:02 +01:00
Previously, deleteSnapshotFromLocalDB logged errors but always returned nil,
causing callers to believe deletion succeeded even when it failed. This could
lead to data inconsistency where remote metadata is deleted while local
records persist.

Now returns the first error encountered, allowing callers to handle failures
appropriately.
This pull request can be merged automatically.
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix/issue-25:fix/issue-25
git checkout fix/issue-25
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sneak/vaultik#30
No description provided.