From 1563016af0b4ddf6793153e944f661b5de19ff54 Mon Sep 17 00:00:00 2001 From: Egor fureunoir Gorbunov Date: Tue, 8 Jul 2025 15:01:16 +0300 Subject: [PATCH] Features: 1) Add debug log for attempting to buy order product; Fixes: None; Extra: None; --- core/signals.py | 1 + 1 file changed, 1 insertion(+) diff --git a/core/signals.py b/core/signals.py index bb552699..fe6bcaa9 100644 --- a/core/signals.py +++ b/core/signals.py @@ -93,6 +93,7 @@ def process_order_changes(instance, created, **_kwargs): continue try: + logger.debug("Trying to buy: %s", str(order_product.uuid)) vendor_name = ( order_product.product.stocks.filter(price=order_product.buy_price).first().vendor.name.lower() )