From 2d250ef0088ec6f9cd4abea543c93b8523247cdb Mon Sep 17 00:00:00 2001 From: polyfloyd Date: Sun, 23 Mar 2025 13:49:28 +0100 Subject: [PATCH] Make log output less spammy --- inflatinator/revbank.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inflatinator/revbank.py b/inflatinator/revbank.py index 5ddb534..1e7d174 100644 --- a/inflatinator/revbank.py +++ b/inflatinator/revbank.py @@ -86,11 +86,11 @@ def update_product_pricings(src): try: prod_info = find_product_details(product) except NoAutoUpdate: - logging.debug('no auto update: %s', product) + logging.debug('no auto update: "%s"', product.description) lines_out.append(line) continue except Exception as err: - logging.error('did not update %s: %s', product, err) + logging.error('did not update "%s": %s', product.description, err) lines_out.append(line) continue