fix(store): fail export when its WORM audit write fails #268

Merged
KofTwentyTwo merged 1 commits from story/m6-export-audit-fail-closed into dev 2026-07-31 16:40:15 +00:00
1 Commits
Author SHA1 Message Date
James Maes 6d41e04efd fix(store): fail export when its WORM audit write fails
Export previously discarded the WORM audit write's result with `let _
= ...`, so a failed audit record still produced a successful export --
an unaudited export was indistinguishable from an audited one,
defeating the tamper-evidence the WORM log exists to provide.

Refs #246
2026-07-31 11:37:45 -05:00