mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-05 20:25:01 +00:00
fix: Replace self.print_error with print for timeout message
This commit is contained in:
parent
a038bc002a
commit
d9e52e41ff
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ class Scraper:
|
|||
try:
|
||||
response = page.goto(url, wait_until="networkidle", timeout=5000)
|
||||
except PlaywrightTimeoutError:
|
||||
self.print_error(f"Page didn't quiesce, scraping content anyway: {url}")
|
||||
print(f"Page didn't quiesce, scraping content anyway: {url}")
|
||||
response = None
|
||||
except PlaywrightError as e:
|
||||
self.print_error(f"Error navigating to {url}: {str(e)}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue