Skip to content

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

fix(scrapeURL): incorrect log message

Gergő Móriczd95d09c001bc
diff --git a/apps/api/src/scraper/scrapeURL/index.ts b/apps/api/src/scraper/scrapeURL/index.ts
index 3106e8217..32781d933 100644
--- a/apps/api/src/scraper/scrapeURL/index.ts
+++ b/apps/api/src/scraper/scrapeURL/index.ts
@@ -443,7 +443,7 @@ async function scrapeURLLoop(meta: Meta): Promise<ScrapeUrlResponse> {
throw error.error;
}
} else {
- meta.logger.warn("An unexpected error happened while scraping with " + engine + ".", { error });
+ meta.logger.warn("An unexpected error happened while scraping with " + error.engine + ".", { error });
}
// Filter out the failed engine