Fail generating website if any page throws an error

This will prevent us from having pages on the site that just show error
stack traces -- instead, Travis will fail with an error and we'll
notice sooner.

I cleaned up this logic to use promises which was eay easier to track
for the error behavior and should be simpler to follow regardless.
This commit is contained in:
Ben Alpert
2015-04-01 17:41:02 -07:00
parent bd8671f4da
commit efe446e962
2 changed files with 28 additions and 34 deletions

View File

@@ -14,5 +14,8 @@
"react-docgen": "^1.1.0",
"react-page-middleware": "git://github.com/facebook/react-page-middleware.git",
"request": "*"
},
"devDependencies": {
"bluebird": "^2.9.21"
}
}