mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 10:01:00 +01:00
In DEV_MODE the content endpoints serve a single-file ROM straight through FileResponse, which raises a RuntimeError at send time when the file no longer exists on disk (e.g. a renamed or moved ROM whose old entry is now missing). Check the path first and raise a clean 404 instead. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>