feat(v1/crawl-status-ws): update behavior to ignore errors like regular crawl-status (#1234)

This commit is contained in:
Gergő Móricz 2025-02-24 21:44:29 +01:00 committed by GitHub
parent 15489be542
commit 8c42b08b7e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -108,7 +108,7 @@ async function crawlStatusWS(
data: job.returnvalue, data: job.returnvalue,
}); });
} else { } else {
return close(ws, 3000, { type: "error", error: job.failedReason }); // Crawl errors are ignored.
} }
} }