Update log_job.ts

This commit is contained in:
Nicolas 2024-10-27 23:14:25 -03:00
parent 8a4f4cb9d9
commit 68b2e1b209

View File

@ -70,7 +70,9 @@ export async function logJob(job: FirecrawlJob) {
retry: job.retry,
},
};
posthog.capture(phLog);
if(job.mode !== "single_urls") {
posthog.capture(phLog);
}
}
if (error) {
Logger.error(`Error logging job: ${error.message}`);