mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-05 10:50:41 +08:00
fix(runWebScraper): don't fetch next job
This commit is contained in:
parent
44c9a22731
commit
b5ec47fd96
@ -131,13 +131,13 @@ const saveJob = async (job: Job, result: any) => {
|
||||
|
||||
if (error) throw new Error(error.message);
|
||||
try {
|
||||
await job.moveToCompleted(null);
|
||||
await job.moveToCompleted(null, false, false);
|
||||
} catch (error) {
|
||||
// I think the job won't exist here anymore
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
await job.moveToCompleted(result);
|
||||
await job.moveToCompleted(result, false, false);
|
||||
} catch (error) {
|
||||
// I think the job won't exist here anymore
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user