Ghost/ghost/mw-error-handler
Hannah Wolfe 682f3a2014 Downgraded express-hbs errors to 400
refs: https://github.com/TryGhost/Team/issues/2289
refs: https://github.com/TryGhost/express-hbs/issues/161

- Themes that resuse layouts as templates trigger horrible errors, which are thrown as 500s
- But there's nothing the server is doing wrong, it's a theme user, so we downgrade these to 400s
- There is more to do here to improve the errors shown, but this is just a first step to ensure that theme issues don't look like server failures
2022-11-22 18:20:33 +00:00
..
lib Downgraded express-hbs errors to 400 2022-11-22 18:20:33 +00:00
test Downgraded express-hbs errors to 400 2022-11-22 18:20:33 +00:00
.eslintrc.js
index.js
package.json Update Test & linting packages 2022-11-07 20:39:48 +00:00