Merge pull request #960 from automatisch/remove-original-error-in-gql-responses
fix: stop using originalError in GQL responses
This commit is contained in:
@@ -28,7 +28,7 @@ const graphQLInstance = graphqlHTTP({
|
||||
delete (error.originalError as HttpError).response;
|
||||
}
|
||||
|
||||
return error.originalError || error;
|
||||
return error;
|
||||
},
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user