A cabinet with no torrent history yet is not a failed refresh #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "missing-history-is-not-a-crash"
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?
Every refresh on a new cabinet failed with ENOENT on
mame_torrent_history.json.The read sat outside the try meant to guard it, so the "could not parse" message was unreachable for the commonest case (a cabinet that has never scraped) and the exception took the whole
POST /api/refreshwith it.Worse on NixOS:
rootis the store, so the file is looked for in a read-only directory and could never be created there.Read is inside the try now; missing is reported as "nothing scraped yet", which is what it is.
183 tests pass.
🤖 Generated with Claude Code