mirror of
https://github.com/lifegpc/eh-downloader.git
synced 2026-07-08 01:31:00 +08:00
Update
This commit is contained in:
@@ -237,6 +237,7 @@ export async function download_task(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
await m.join();
|
await m.join();
|
||||||
|
if (m.has_failed_task) throw Error("Some tasks failed.");
|
||||||
if (abort.aborted || force_abort.aborted) throw Error("aborted");
|
if (abort.aborted || force_abort.aborted) throw Error("aborted");
|
||||||
return task;
|
return task;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user