diff --git a/graphene_django/views.py b/graphene_django/views.py index c23b020..e90d94f 100644 --- a/graphene_django/views.py +++ b/graphene_django/views.py @@ -339,7 +339,7 @@ class GraphQLView(View): return result return self.schema.execute(**options) - except Exception as e: + except GraphQLError as e: return ExecutionResult(errors=[e]) @classmethod