This commit is contained in:
2023-06-10 21:36:55 +08:00
parent eb146e826d
commit dcf59bb995

View File

@@ -237,6 +237,7 @@ export async function download_task(
}
}
await m.join();
if (m.has_failed_task) throw Error("Some tasks failed.");
if (abort.aborted || force_abort.aborted) throw Error("aborted");
return task;
}