File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -659,9 +659,10 @@ public static async Task<ExecutionResult> ExecuteWithErrorCheck(
659659 this IDocumentExecuter executer ,
660660 ExecutionOptions options )
661661{
662+ options .ThrowOnUnhandledException = true ;
663+
662664 var executionResult = await executer .ExecuteAsync (options );
663665
664- options .ThrowOnUnhandledException = true ;
665666 var errors = executionResult .Errors ;
666667 if (errors is { Count : > 0 })
667668 {
@@ -676,7 +677,7 @@ public static async Task<ExecutionResult> ExecuteWithErrorCheck(
676677 return executionResult ;
677678}
678679```
679- <sup ><a href =' /src/GraphQL.EntityFramework/GraphQlExtensions.cs#L5-L28 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-ExecuteWithErrorCheck ' title =' Start of snippet ' >anchor</a ></sup >
680+ <sup ><a href =' /src/GraphQL.EntityFramework/GraphQlExtensions.cs#L5-L29 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-ExecuteWithErrorCheck ' title =' Start of snippet ' >anchor</a ></sup >
680681<!-- endSnippet -->
681682
682683
You can’t perform that action at this time.
0 commit comments