Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

fix(logger): correct method names in logger.child calls (#1731)

ahnafatef58081963e771
diff --git a/apps/api/src/lib/crawl-redis.ts b/apps/api/src/lib/crawl-redis.ts
index 0fb3fec0f..c3fe5a0cd 100644
--- a/apps/api/src/lib/crawl-redis.ts
+++ b/apps/api/src/lib/crawl-redis.ts
@@ -330,7 +330,7 @@ export async function lockURLs(
const logger = __logger.child({
crawlId: id,
module: "crawl-redis",
- method: "lockURL",
+ method: "lockURLs",
teamId: sc.team_id,
});
diff --git a/apps/api/src/scraper/scrapeURL/engines/fire-engine/index.ts b/apps/api/src/scraper/scrapeURL/engines/fire-engine/index.ts
index 3f57e17a4..65459bc02 100644
--- a/apps/api/src/scraper/scrapeURL/engines/fire-engine/index.ts
+++ b/apps/api/src/scraper/scrapeURL/engines/fire-engine/index.ts
@@ -368,7 +368,7 @@ export async function scrapeURLWithFireEnginePlaywright(
let response = await performFireEngineScrape(
meta,
meta.logger.child({
- method: "scrapeURLWithFireEngineChromeCDP/callFireEngine",
+ method: "scrapeURLWithFireEnginePlaywright/callFireEngine",
request,
}),
request,
@@ -433,7 +433,7 @@ export async function scrapeURLWithFireEngineTLSClient(
let response = await performFireEngineScrape(
meta,
meta.logger.child({
- method: "scrapeURLWithFireEngineChromeCDP/callFireEngine",
+ method: "scrapeURLWithFireEngineTLSClient/callFireEngine",
request,
}),
request,