diff --git a/packages/gatsby/src/commands/develop.js b/packages/gatsby/src/commands/develop.js index 2bfec60bd9ac4..64c238669d72f 100644 --- a/packages/gatsby/src/commands/develop.js +++ b/packages/gatsby/src/commands/develop.js @@ -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`) : [],