diff --git a/queue_worker.js b/queue_worker.js index 4e19f1d..c4fe8cb 100644 --- a/queue_worker.js +++ b/queue_worker.js @@ -54,8 +54,6 @@ async function runJob(job) { // ========== CAPTCHA / ERROR DETECTION ========== const suspicious = - exitCode !== 0 || - // general output.toLowerCase().includes("captcha") || output.toLowerCase().includes("403") || output.toLowerCase().includes("blocked") || @@ -79,7 +77,7 @@ async function runJob(job) { await failedCol.insertOne({ filename: job.filename, failed_at: new Date(), - output_log: output, + output_log: `[${exitCode}: ${output}]`, }); // Unset the processing flag so the job isn't stuck