Skip to content

Commit

Permalink
Fix logger
Browse files Browse the repository at this point in the history
  • Loading branch information
moria97 committed Dec 11, 2024
1 parent 542036b commit 7cf5af2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pai_rag/integrations/search/bs4_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ async def fetch_url(url):
response = await client.get(url)
return response
except Exception:
logger.warn(f"Fetch {url} failed. Skipping")
logger.warning(f"Fetch {url} failed. Skipping")


def fetch_multiple(urls):
Expand Down

0 comments on commit 7cf5af2

Please sign in to comment.