From 5e2fa46650b6db0f15c8cb54338dfd510b8880b2 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Fri, 27 Mar 2020 20:57:23 -0500 Subject: [PATCH] Fix some logging bugs --- .../corepos/importing/db/exporters/catapult_inventory.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rattail_corepos/corepos/importing/db/exporters/catapult_inventory.py b/rattail_corepos/corepos/importing/db/exporters/catapult_inventory.py index 7c8796e..709070c 100644 --- a/rattail_corepos/corepos/importing/db/exporters/catapult_inventory.py +++ b/rattail_corepos/corepos/importing/db/exporters/catapult_inventory.py @@ -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