File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -615,6 +615,7 @@ public static async Task<ExecutionResult> ExecuteWithErrorCheck(
615615{
616616 var executionResult = await executer .ExecuteAsync (options );
617617
618+ options .ThrowOnUnhandledException = true ;
618619 var errors = executionResult .Errors ;
619620 if (errors is { Count : > 0 })
620621 {
@@ -629,7 +630,7 @@ public static async Task<ExecutionResult> ExecuteWithErrorCheck(
629630 return executionResult ;
630631}
631632```
632- <sup ><a href =' /src/GraphQL.EntityFramework/GraphQlExtensions.cs#L5-L27 ' title =' Snippet source file ' >snippet source</a > | <a href =' #snippet-executewitherrorcheck ' title =' Start of snippet ' >anchor</a ></sup >
633+ <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 >
633634<!-- endSnippet -->
634635
635636
You can’t perform that action at this time.
0 commit comments