[LOW] Log JSON parse/read errors with file path - distinguish missing DB from corrupt JSON #39
Labels
No labels
blocked:needs-human
blocked:verify-failed
bug
feature-request
quickfix
security/high
security/medium
test-coverage
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/subvault#39
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Location:
backend/src/database.ts:287-292Problem:
catch { return [] }silently swallows all parse/read errors. Data corruption silently becomes an empty result.Impact: Hard to debug production issues; silent data loss.
Fix:
Effort: ~20 mins