mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-07-03 12:05:09 +08:00
Merge branch 'main' into nsc/sitemap-fix-fire-engine
This commit is contained in:
commit
d0c8d3ecde
@ -76,6 +76,11 @@ export async function scrapWithFireEngine({
|
||||
);
|
||||
logParams.error_message = response.data?.pageError;
|
||||
logParams.response_code = response.data?.pageStatusCode;
|
||||
|
||||
if(response.data && response.data?.pageStatusCode !== 200) {
|
||||
console.error(`[Fire-Engine] Error fetching url: ${url} with status: ${response.status}`);
|
||||
}
|
||||
|
||||
return {
|
||||
html: "",
|
||||
screenshot: "",
|
||||
|
Loading…
x
Reference in New Issue
Block a user