diff --git a/gatsby-node.js b/gatsby-node.js index 04e0284..f2fae4a 100644 --- a/gatsby-node.js +++ b/gatsby-node.js @@ -23,6 +23,7 @@ exports.createPages = ({ boundActionCreators, graphql }) => { } `).then(result => { if (result.errors) { + result.errors.forEach(e => console.error(e.toString())); return Promise.reject(result.errors); } result.data.allMarkdownRemark.edges.forEach(({ node }) => { diff --git a/src/layouts/index.js b/src/layouts/index.js index 3da51cf..86e3ad9 100644 --- a/src/layouts/index.js +++ b/src/layouts/index.js @@ -19,7 +19,7 @@ const Navbar = () => (