Skip to content

Commit 09c2b03

Browse files
committed
2 parents 82e5f75 + e264dac commit 09c2b03

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/configuration.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)