We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccb4cca commit 9b6939eCopy full SHA for 9b6939e
src/scrapers/mangadex.ts
@@ -17,13 +17,15 @@ export default {
17
`${baseUrl}/manga/${id}/feed?translatedLanguage[]=en&order[chapter]=desc&includes[]=manga&limit=1`
18
);
19
if (!response.ok) {
20
- throw new Error(`Failed to fetch latest chapter from id ${id}`);
+ console.error(`Failed to fetch latest chapter from id ${id}`);
21
+ continue;
22
}
23
24
const json = await (<Promise<Chapter>>response.json());
25
26
if (!json.data.length) {
- throw new Error(`No chapters found for id ${id}`);
27
+ console.error(`No chapters found for id ${id}`);
28
29
30
31
const latestChapter = json.data[0].attributes.chapter;
0 commit comments