Fixes: 1) Update log message for VendorInactiveError to use info level and clarify reason.
This commit is contained in:
parent
75709a3aa1
commit
8c2fbc1e44
1 changed files with 1 additions and 1 deletions
|
|
@ -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}")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue