summaryrefslogtreecommitdiff
path: root/internal/scanner
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-10 09:52:35 +0300
committerPaul Buetow <paul@buetow.org>2026-05-10 09:52:35 +0300
commit1ccd9b0fafad95b25dd6c6b806cad4809cefafe1 (patch)
treef42f164d63505e3b704d083de10d20bffe00744c /internal/scanner
parentaf09a8ad94bfeddd1f7ccfad3aacab1332f915c9 (diff)
fix(browse): return ErrNotFound when set cover is missing
GetSetCover was returning a stale os.Stat wrapped error when no thumbnail candidate was found (line 465), and was not translating os.IsNotExist to ErrNotFound when the candidate thumbnail was missing (line 468). Both cases now return service.ErrNotFound so the caller/handler can respond with 404 instead of 500.
Diffstat (limited to 'internal/scanner')
0 files changed, 0 insertions, 0 deletions