feat(v1/crawl-status-ws): update behavior to ignore errors like regular crawl-status (#1234)
This commit is contained in:
@@ -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.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user