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.
This commit is contained in:
Kumi 2023-08-30 12:51:20 +02:00
parent e5d85d80d1
commit bcbd2989eb
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -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