Skip to content

Commit 53502cc

Browse files
GatsbyJS Botvladar
GatsbyJS Bot
andauthored
fix(gatsby): correct tracing for GraphQL queries (#28415) (#28475)
(cherry picked from commit 4e50d5c) Co-authored-by: Vladimir Razuvaev <[email protected]>
1 parent bb044de commit 53502cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/gatsby/src/query/graphql-runner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ export class GraphQLRunner {
184184

185185
try {
186186
// `execute` will return a promise
187-
return execute({
187+
return await execute({
188188
schema,
189189
document,
190190
rootValue: context,

0 commit comments

Comments
 (0)