Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Change error message
Marcin Gębala9c2083e4d45a
diff --git a/saleor/graphql/product/types.py b/saleor/graphql/product/types.pyindex 067c881d79..6c1ba78ca3 100644--- a/saleor/graphql/product/types.py+++ b/saleor/graphql/product/types.py@@ -193,8 +193,7 @@ class Product(CountableDjangoObjectType):try:return self.images.get(pk=pk)except models.ProductImage.DoesNotExist:- raise GraphQLError(- "Could not resolve to a node with the global id of '%s'." % id)+ raise GraphQLError('Product image not found.')class ProductType(CountableDjangoObjectType):