From bcbd2989eb9f64cc9ec55dcce53aee23b8e9a36e Mon Sep 17 00:00:00 2001 From: Kumi Date: Wed, 30 Aug 2023 12:51:20 +0200 Subject: [PATCH] Fix logging level for shipment without carrier The logging level for shipments without a carrier has been changed from "warning" to "info" to improve readability and avoid unnecessary warnings. --- src/trackbert/classes/tracker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/trackbert/classes/tracker.py b/src/trackbert/classes/tracker.py index 42df6b5..7e4ec44 100644 --- a/src/trackbert/classes/tracker.py +++ b/src/trackbert/classes/tracker.py @@ -113,7 +113,7 @@ class Tracker: def process_shipment(self, shipment) -> None: if not shipment.carrier: - logging.warning( + logging.info( f"Shipment {shipment.tracking_number} has no carrier, skipping" ) return