Skip to content

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

fix(scrape_log): display error properly

Gergo Moricz8216266d1656
diff --git a/apps/api/src/services/logging/scrape_log.ts b/apps/api/src/services/logging/scrape_log.ts
index 208159da0..099e4a0b7 100644
--- a/apps/api/src/services/logging/scrape_log.ts
+++ b/apps/api/src/services/logging/scrape_log.ts
@@ -44,9 +44,9 @@ export async function logScrape(
]);
if (error) {
- Logger.error(`Error logging proxy:\n${error}`);
+ Logger.error(`Error logging proxy:\n${JSON.stringify(error)}`);
}
} catch (error) {
- Logger.error(`Error logging proxy:\n${error}`);
+ Logger.error(`Error logging proxy:\n${JSON.stringify(error)}`);
}
}