Removing location from error message
This commit is contained in:
1 parent
83fc42aecd
commit
faa235dc02
1 file changed
-1
@@ -47,7 +47,6 @@ app.use('/graphql', graphqlHTTP(req => ({
|
||||
return {
|
||||
message: err.message,
|
||||
code: err.originalError && err.originalError.code,
|
||||
locations: err.locations,
|
||||
path: err.path,
|
||||
};
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user