diff --git a/graphene_django/views.py b/graphene_django/views.py index 1ec6598..74a1ed3 100644 --- a/graphene_django/views.py +++ b/graphene_django/views.py @@ -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