Fix some logging bugs
This commit is contained in:
parent
5a5927dce6
commit
5e2fa46650
|
@ -120,13 +120,13 @@ class InventoryItemImporter(FromCore, catapult_importing.model.InventoryItemImpo
|
|||
item_id = product.upc
|
||||
|
||||
if not item_id:
|
||||
log.warning("item_id could not be determined for product %s: %s",
|
||||
product.uuid, product)
|
||||
log.warning("product id %s has no upc: %s",
|
||||
product.id, product)
|
||||
return
|
||||
|
||||
if not item_id.isdigit():
|
||||
log.debug("item_id '%s' is not numeric for product %s: %s",
|
||||
item_id, product.uuid, product)
|
||||
log.debug("product has non-numeric upc %s: %s",
|
||||
item_id, product)
|
||||
return
|
||||
|
||||
is_plu = False
|
||||
|
|
Loading…
Reference in a new issue