Skip to content

Commit 58ed3ca

Browse files
authoredAug 22, 2019
fix(gatsby): Remove deprecation warning from express-graphql (#16956)
1 parent 194a97c commit 58ed3ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/gatsby/src/commands/develop.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ async function startServer(program, { activity }) {
162162
schema,
163163
graphiql: false,
164164
context: withResolverContext({}, schema, schemaCustomization.context),
165-
formatError(err) {
165+
customFormatErrorFn(err) {
166166
return {
167167
...formatError(err),
168168
stack: err.stack ? err.stack.split(`\n`) : [],

0 commit comments

Comments
 (0)
Please sign in to comment.