mirror of
				https://github.com/graphql-python/graphene-django.git
				synced 2025-10-31 07:57:31 +03:00 
			
		
		
		
	Only catch GraphQLException
which allows generic Exception through in case UnforgivingExecutionContext is used
This commit is contained in:
		
							parent
							
								
									269225085d
								
							
						
					
					
						commit
						9d7d621e47
					
				|  | @ -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