From e858921ca7de9d6bbcf9932f95cea48bdda5d2c0 Mon Sep 17 00:00:00 2001 From: snusxd Date: Mon, 13 Apr 2026 17:04:11 +0300 Subject: [PATCH] fix: remove fallback cover path and throw error for missing cover --- src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 3907f94..42a6644 100644 --- a/src/index.ts +++ b/src/index.ts @@ -50,7 +50,8 @@ async function get_image_from_server( first_error, secong_error, ); - resultFilePath = "public/covers/0.png"; + // resultFilePath = "public/covers/0.png"; + throw Error("cover not found"); } } }