mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-14 02:55:54 +08:00
Update single_url.ts
This commit is contained in:
parent
f5b2fbd7e8
commit
066d92f643
@ -290,7 +290,7 @@ export async function scrapSingleUrl(
|
||||
}
|
||||
if (attempt.pageError && attempt.pageStatusCode >= 400) {
|
||||
pageError = attempt.pageError;
|
||||
} else if (attempt.pageStatusCode < 400) {
|
||||
} else if (attempt && attempt.pageStatusCode && attempt.pageStatusCode < 400) {
|
||||
pageError = undefined;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user