fix: do not suppress native GQL errors

This commit is contained in:
Ali BARIN
2023-02-26 22:13:07 +00:00
parent 5ee7b85cc4
commit 37cdb34014

View File

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