diff --git a/apps/api/src/scraper/WebScraper/crawler.ts b/apps/api/src/scraper/WebScraper/crawler.ts index 5f26f817..ba4793d8 100644 --- a/apps/api/src/scraper/WebScraper/crawler.ts +++ b/apps/api/src/scraper/WebScraper/crawler.ts @@ -456,7 +456,7 @@ export class WebCrawler { } }).filter(x => x !== null) as string[])]; } catch (error) { - this.logger.error("Failed to call html-transformer! Falling back to cheerio...", { + this.logger.warn("Failed to call html-transformer! Falling back to cheerio...", { error, module: "scrapeURL", method: "extractMetadata" }); diff --git a/apps/api/src/scraper/scrapeURL/lib/extractLinks.ts b/apps/api/src/scraper/scrapeURL/lib/extractLinks.ts index ef784a71..48117ae7 100644 --- a/apps/api/src/scraper/scrapeURL/lib/extractLinks.ts +++ b/apps/api/src/scraper/scrapeURL/lib/extractLinks.ts @@ -41,7 +41,7 @@ export async function extractLinks(html: string, baseUrl: string): Promise