mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-12 15:59:04 +08:00
feat(v1/crawl-status-ws): update behavior to ignore errors like regular crawl-status (#1234)
This commit is contained in:
parent
15489be542
commit
8c42b08b7e
@ -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.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user