mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-09 15:52:26 +03:00
Merge 9d7d621e47
into f02ea337a2
This commit is contained in:
commit
21533033c5
|
@ -374,7 +374,7 @@ class GraphQLView(View):
|
|||
return result
|
||||
|
||||
return execute(schema, document, **execute_options)
|
||||
except Exception as e:
|
||||
except GraphQLError as e:
|
||||
return ExecutionResult(errors=[e])
|
||||
|
||||
@classmethod
|
||||
|
|
Loading…
Reference in New Issue
Block a user