mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-07-04 17:35:14 +08:00
Update fireEngine.ts
This commit is contained in:
parent
b5b75086c1
commit
5da03a8fbd
@ -72,6 +72,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