Skip to content

Commit

Permalink
include original error in error formatter for better error tracing
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskalmar committed Jan 30, 2021
1 parent cc0b01c commit 7fa3a60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/graphqlProtocol/util.ts
Expand Up @@ -158,6 +158,7 @@ export const formatGraphQLError = (err: GraphQLError): GraphQLError => {
path,
meta,
extensions: { code },
originalError: err.originalError,
};
}

Expand Down

0 comments on commit 7fa3a60

Please sign in to comment.