Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Rename exception message
Damian W172b9b1e5c7e
diff --git a/saleor/core/exceptions.py b/saleor/core/exceptions.pyindex 97d3bf54df..2102cadee5 100644--- a/saleor/core/exceptions.py+++ b/saleor/core/exceptions.py@@ -28,6 +28,6 @@ class ReadOnlyException(Exception):class ProductNotPublished(Exception):def __init__(self, context=None):- super().__init__("Can't create checkout with unpublished product.")+ super().__init__("Can't add unpublished product.")self.context = contextself.code = CheckoutErrorCode.PRODUCT_NOT_PUBLISHED