Update log_job.ts

This commit is contained in:
Nicolas
2024-10-27 23:14:25 -03:00
parent 8a4f4cb9d9
commit 68b2e1b209
+2
View File
@@ -70,8 +70,10 @@ export async function logJob(job: FirecrawlJob) {
retry: job.retry, retry: job.retry,
}, },
}; };
if(job.mode !== "single_urls") {
posthog.capture(phLog); posthog.capture(phLog);
} }
}
if (error) { if (error) {
Logger.error(`Error logging job: ${error.message}`); Logger.error(`Error logging job: ${error.message}`);
} }