diff --git a/src/MangaDex/MangaDexParser.ts b/src/MangaDex/MangaDexParser.ts index c7a075b..c9b5eef 100644 --- a/src/MangaDex/MangaDexParser.ts +++ b/src/MangaDex/MangaDexParser.ts @@ -73,6 +73,7 @@ export const addFileNamesToManga = async (manga: PartialSourceManga[], covers: C const coverItem = covers.find((x) => x.relationships.find((r) => r.type == 'manga')?.id == mangaId) if (coverItem === undefined) { + throw new Error('Failed to find cover image: ' + covers) continue }