mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-07 22:11:51 +00:00
@@ -40,7 +40,7 @@ def scrape_text(url: str):
|
||||
else:
|
||||
return f"Failed to retrieve the webpage: Status code {response.status_code}"
|
||||
except Exception as e:
|
||||
print(e) # noqa: T201
|
||||
print(e)
|
||||
return f"Failed to retrieve the webpage: {e}"
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user