Raise the final exception when all retries of Shopify request has failed

(grafted from b0fef2fdbe01bb7a7fc4f7d6032b9ab6ef61160c)

--HG--
branch : 8.0
This commit is contained in:
Cédric Krier
2026-07-21 17:33:03 +02:00
parent 062b38f1ce
commit 9a555676f3
+1
View File
@@ -19,6 +19,7 @@ def retry(func):
return func(*args, **kwargs)
except Exception:
time.sleep(1)
return func(*args, **kwargs)
return wrapper