mangaupdates fetch: catch error between stages for a better update experience
This commit is contained in:
@@ -10,8 +10,11 @@ export default class MangaUpdatesDataService {
|
|||||||
const mangaStore = new MangaStore();
|
const mangaStore = new MangaStore();
|
||||||
const dbStore = new DbStore();
|
const dbStore = new DbStore();
|
||||||
this.findMissingRelations(mangaStore, dbStore, progress)
|
this.findMissingRelations(mangaStore, dbStore, progress)
|
||||||
|
.catch(_ => {})
|
||||||
.then(_ => this.fetchSeriesUpdates(mangaStore, dbStore, progress))
|
.then(_ => this.fetchSeriesUpdates(mangaStore, dbStore, progress))
|
||||||
|
.catch(_ => {})
|
||||||
.then(_ => this.fetchSeriesChapterUpdates(mangaStore, dbStore, progress))
|
.then(_ => this.fetchSeriesChapterUpdates(mangaStore, dbStore, progress))
|
||||||
|
.catch(_ => {})
|
||||||
.then(_ => progress.onFinished());
|
.then(_ => progress.onFinished());
|
||||||
return progress;
|
return progress;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user