From 8c2fbc1e449cf3d9925ce7a1e71f9dc49e60244c Mon Sep 17 00:00:00 2001 From: Egor fureunoir Gorbunov Date: Thu, 7 Aug 2025 12:32:17 +0300 Subject: [PATCH] Fixes: 1) Update log message for VendorInactiveError to use `info` level and clarify reason. --- core/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tasks.py b/core/tasks.py index 510038ef..6861197a 100644 --- a/core/tasks.py +++ b/core/tasks.py @@ -45,7 +45,7 @@ def update_products_task(): try: vendor.update_stock() except VendorInactiveError as vie: - logger.warning(f"Skipping {vendor_class} due to error: {vie!s}") + logger.info(f"Skipping {vendor_class} due to inactivity") except Exception as e: logger.warning(f"Skipping {vendor_class} due to error: {e!s}")