Skip to content

Commit

Permalink
fix(gatsby): Remove deprecation warning from express-graphql (#16956)
Browse files Browse the repository at this point in the history
  • Loading branch information
freiksenet committed Aug 22, 2019
1 parent 194a97c commit 58ed3ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/gatsby/src/commands/develop.js
Expand Up @@ -162,7 +162,7 @@ async function startServer(program, { activity }) {
schema,
graphiql: false,
context: withResolverContext({}, schema, schemaCustomization.context),
formatError(err) {
customFormatErrorFn(err) {
return {
...formatError(err),
stack: err.stack ? err.stack.split(`\n`) : [],
Expand Down

0 comments on commit 58ed3ca

Please sign in to comment.