Skip to content

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

Fix wording in error message for invalid EditorJS (#18979)

Mikail7568e157e864
diff --git a/saleor/core/editorjs/converters.py b/saleor/core/editorjs/converters.py
index 24dc8b18af..a6517f99e1 100644
--- a/saleor/core/editorjs/converters.py
+++ b/saleor/core/editorjs/converters.py
@@ -30,7 +30,7 @@ def parse_editorjs(data: dict, *, for_django: bool = True) -> EditorJSDocumentMo
# Needs to be logged because Saleor doesn't log handled errors in GraphQL
# and we cannot return the error the user as it can reveal internal information
logger.info("Received invalid EditorJS input: %s", str(exc))
- raise ValidationError("Invalid input EditorJS format") from exc
+ raise ValidationError("Invalid EditorJS input") from exc
raise