Skip to content

Commit 2be5765

Browse files
committed
Update GraphQlExtensions.cs
1 parent 97ba93a commit 2be5765

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/GraphQL.EntityFramework/GraphQlExtensions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ public static async Task<ExecutionResult> ExecuteWithErrorCheck(
1010
{
1111
var executionResult = await executer.ExecuteAsync(options);
1212

13+
options.ThrowOnUnhandledException = true;
1314
var errors = executionResult.Errors;
1415
if (errors is { Count: > 0 })
1516
{

0 commit comments

Comments
 (0)