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:
parent
e5d85d80d1
commit
bcbd2989eb
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ class Tracker:
|
||||||
|
|
||||||
def process_shipment(self, shipment) -> None:
|
def process_shipment(self, shipment) -> None:
|
||||||
if not shipment.carrier:
|
if not shipment.carrier:
|
||||||
logging.warning(
|
logging.info(
|
||||||
f"Shipment {shipment.tracking_number} has no carrier, skipping"
|
f"Shipment {shipment.tracking_number} has no carrier, skipping"
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue