mangaupdates fetch: catch error between stages for a better update experience

This commit is contained in:
wea_ondara
2023-09-27 17:42:59 +02:00
parent 36d4d200a9
commit 92cb97a7d2

View File

@@ -10,8 +10,11 @@ export default class MangaUpdatesDataService {
const mangaStore = new MangaStore();
const dbStore = new DbStore();
this.findMissingRelations(mangaStore, dbStore, progress)
.catch(_ => {})
.then(_ => this.fetchSeriesUpdates(mangaStore, dbStore, progress))
.catch(_ => {})
.then(_ => this.fetchSeriesChapterUpdates(mangaStore, dbStore, progress))
.catch(_ => {})
.then(_ => progress.onFinished());
return progress;
}