Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Only log traceback in adyen webhook errors

Mikail3beb570c4ab3
diff --git a/saleor/payment/gateways/adyen/webhooks.py b/saleor/payment/gateways/adyen/webhooks.py
index 2d5358c266..2fb356988f 100644
--- a/saleor/payment/gateways/adyen/webhooks.py
+++ b/saleor/payment/gateways/adyen/webhooks.py
@@ -293,10 +293,8 @@ def handle_authorization(notification: dict[str, Any], gateway_config: GatewayCo
notification_payment_amount = price_from_minor_unit(
amount.get("value"), amount.get("currency")
)
- except TypeError as e:
- logger.exception(
- "Cannot convert amount from minor unit", extra={"error": str(e)}
- )
+ except TypeError:
+ logger.exception("Cannot convert amount from minor unit")
return
if notification_payment_amount < payment.total: