diff --git a/graphene_django/views.py b/graphene_django/views.py index 1ec65988..74a1ed30 100644 --- a/graphene_django/views.py +++ b/graphene_django/views.py @@ -374,7 +374,7 @@ def execute_graphql_request( return result return execute(schema, document, **execute_options) - except Exception as e: + except GraphQLError as e: return ExecutionResult(errors=[e]) @classmethod