From 206bbac20601351bdab53af538c57ccbcde8d8d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 6 Aug 2026 08:48:19 +0200 Subject: [PATCH] Add logging info about Shopify request The shopify_app does not generate any logging except the raw info from httpx. (grafted from d714021b449cf35300aae970475f19c121c4effb) --HG-- branch : 8.0 --- modules/web_shop_shopify/web.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/web_shop_shopify/web.py b/modules/web_shop_shopify/web.py index b9174095ef..13960bf85f 100644 --- a/modules/web_shop_shopify/web.py +++ b/modules/web_shop_shopify/web.py @@ -327,6 +327,12 @@ class Shop(metaclass=PoolMeta): if log.detail: msg.append(log.detail) raise GraphQLException("\n".join(msg)) + logger.info("shopify request %s", format_args( + query, { + 'variables': variables, + 'headers': headers, + 'max_retries': max_retries, + }, logger.isEnabledFor(logging.DEBUG))) if user_errors: names = user_errors.split('.') errors = result.data