diff --git a/server/src/main.ts b/server/src/main.ts index 9e86d39..e3f9498 100644 --- a/server/src/main.ts +++ b/server/src/main.ts @@ -192,7 +192,7 @@ export async function startQueue(dz: any): Promise { if (!downloadObject.isCanceled) { // Set status - if (downloadObject.failed === downloadObject.size) { + if (downloadObject.failed === downloadObject.size && downloadObject.size !== 0) { queue[currentUUID].status = 'failed' } else if (downloadObject.failed > 0) { queue[currentUUID].status = 'withErrors'