Merge remote-tracking branch 'upstream/release-8.1' into release-8.6

This commit is contained in:
Taranto 2023-10-03 16:26:42 +01:00
commit 1a8a5899d3
2 changed files with 3 additions and 2 deletions

View file

@ -61,7 +61,8 @@ const apolloServer = new ApolloServer({
playground: false,
introspection: false,
formatError: error => {
logger.error(error)
const exception = error?.extensions?.exception
logger.error(error, JSON.stringify(exception || {}))
return error
},
context: async (obj) => buildApolloContext(obj)