Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix typo
oldPadavan8b6560a8f72f
diff --git a/saleor/core/utils/json_serializer.py b/saleor/core/utils/json_serializer.pyindex 042e8cf564..59947f98f8 100644--- a/saleor/core/utils/json_serializer.py+++ b/saleor/core/utils/json_serializer.py@@ -43,6 +43,6 @@ def Deserializer(stream_or_string, **options):except Exception as exc:# ugly construction to overcome pylint's warning# "The except handler raises immediately"- if isinstance(exc, GeneratorExit, DeserializationError):+ if isinstance(exc, (GeneratorExit, DeserializationError)):raiseraise DeserializationError() from exc