From 757e3177ed6cfed0cbd9b9f01c0c330ba5d6f18f Mon Sep 17 00:00:00 2001 From: Aravind Karnam Date: Mon, 31 Mar 2025 17:10:04 +0530 Subject: [PATCH] fix: https://github.com/unclecode/crawl4ai/issues/839 --- crawl4ai/async_crawler_strategy.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/crawl4ai/async_crawler_strategy.py b/crawl4ai/async_crawler_strategy.py index 7eef0196..f18a3c1d 100644 --- a/crawl4ai/async_crawler_strategy.py +++ b/crawl4ai/async_crawler_strategy.py @@ -532,14 +532,12 @@ class AsyncPlaywrightCrawlerStrategy(AsyncCrawlerStrategy): if console_log_type == "error": self.logger.error( message=f"Console error: {msg}", # Use f-string for variable interpolation - tag="CONSOLE", - params={"msg": msg.text}, + tag="CONSOLE" ) elif console_log_type == "debug": self.logger.debug( message=f"Console: {msg}", # Use f-string for variable interpolation - tag="CONSOLE", - params={"msg": msg.text}, + tag="CONSOLE" ) page.on("console", log_consol)