We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17a6f7d commit 55839caCopy full SHA for 55839ca
Sources/GraphQL/Execution/Execute.swift
@@ -788,10 +788,7 @@ func completeValueCatchingError(
788
path: path,
789
result: result
790
).mapIfError { error -> Any? in
791
- guard let error = error as? GraphQLError else {
792
- fatalError()
793
- }
794
- exeContext.append(error: error)
+ exeContext.append(error: locatedError(originalError: error, nodes: fieldASTs, path: path))
795
return nil
796
}
797
0 commit comments