Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.0] Throw error and quit if there's a JS parse error for gatsby-config.js fixes #1290 #1296

Merged
merged 1 commit into from
Jun 29, 2017

Conversation

KyleAMathews
Copy link
Contributor

@KyleAMathews KyleAMathews commented Jun 29, 2017

Fixes #1290

Previously we were catching all errors which made it hard to debug errors originating in gatsby-config.js.

Now we only catch module not found errors. Everything else we log and quit.

@KyleAMathews KyleAMathews changed the title [1.0] Throw error and quit if there's a JS parse error for gatsby-config.js [1.0] Throw error and quit if there's a JS parse error for gatsby-config.js fixes #1290 Jun 29, 2017
@gatsbybot
Copy link
Collaborator

Deploy preview ready!

Built with commit d8be0d1

https://deploy-preview-1296--using-drupal.netlify.com

@gatsbybot
Copy link
Collaborator

Deploy preview ready!

Built with commit d8be0d1

https://deploy-preview-1296--gatsbyjs.netlify.com

@gatsbybot
Copy link
Collaborator

Deploy preview ready!

Built with commit d8be0d1

https://deploy-preview-1296--gatsbygram.netlify.com

@KyleAMathews KyleAMathews merged commit 53179ce into 1.0 Jun 29, 2017
@KyleAMathews KyleAMathews deleted the catch-config-error branch June 29, 2017 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants