From f71f87f749be2fbe2eb58a003bf46f1df039183b Mon Sep 17 00:00:00 2001 From: Darek Lubomski Date: Wed, 24 Jul 2024 12:02:58 +0200 Subject: [PATCH] fix logging --- iata_code_fetcher/fetcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iata_code_fetcher/fetcher.py b/iata_code_fetcher/fetcher.py index 28ec1c6..b9d8987 100644 --- a/iata_code_fetcher/fetcher.py +++ b/iata_code_fetcher/fetcher.py @@ -117,7 +117,7 @@ def process_and_save_data(code_type: CodeType) -> None: except RequestException as e: logging.error("For %s: %s", code, e) except ValueError as e: - logging.warn("For %s, %s", code, e) + logging.info("For %s, %s", code, e) processed += 1 if processed % REPORT_FREQUENCY == 0: