Merge pull request #959 from automatisch/do-not-suppress-native-gql-errors

fix: do not suppress native GQL errors
This commit is contained in:
Ömer Faruk Aydın
2023-02-26 23:16:03 +01:00
committed by GitHub

View File

@@ -28,7 +28,7 @@ const graphQLInstance = graphqlHTTP({
delete (error.originalError as HttpError).response;
}
return error.originalError;
return error.originalError || error;
},
});