mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 03:32:22 +08:00
Merge pull request #829 from mendableai/nsc/prevent-single-url-logs
Remove ph logs for single_urls
This commit is contained in:
commit
19ed042181
|
@ -70,7 +70,9 @@ export async function logJob(job: FirecrawlJob) {
|
||||||
retry: job.retry,
|
retry: job.retry,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
posthog.capture(phLog);
|
if(job.mode !== "single_urls") {
|
||||||
|
posthog.capture(phLog);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (error) {
|
if (error) {
|
||||||
Logger.error(`Error logging job: ${error.message}`);
|
Logger.error(`Error logging job: ${error.message}`);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user