0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/server/middleware
Hannah Wolfe 0c54541b4d 🐛 Fixed error in error template hiding errors (#8832)
closes #8808

Problem:
- In certain cases, particularly in production mode, errors would be hidden
- E.g. fatal theme errors could not be seen, users instead saw "Failed to lookup view 'error' in views directory"
- This is extremely unhelpful, particularly for people upgrading from 1.0.0 or 1.0.1 where the disqus rule was added
afterwards and modified casper would error
Solution:
- Ensure that we properly setup handlebars when we throw an error
- If engines is not set, set all the view engine related properties
2017-08-03 13:12:16 +04:00
..
api 🎨 Ghost bootstrap: optimise requires (#8121) 2017-03-13 20:07:12 +00:00
validation 🐛 Fixed wrong min-width publication icon validation 2017-08-01 12:20:23 +04:00
brute.js 🎨 Ghost bootstrap: optimise requires (#8121) 2017-03-13 20:07:12 +00:00
cache-control.js 🎨 add cache control configurations into the default config 2017-05-31 16:12:11 +01:00
custom-redirects.js 🎨 add cache control configurations into the default config 2017-05-31 16:12:11 +01:00
error-handler.js 🐛 Fixed error in error template hiding errors (#8832) 2017-08-03 13:12:16 +04:00
ghost-locals.js Misc Middleware cleanup (#7526) 2016-10-10 21:14:32 +02:00
labs.js
log-request.js chore(package): update uuid to version 3.0.0 (#7742) 2017-01-04 17:10:29 +01:00
maintenance.js
pretty-urls.js Misc Middleware cleanup (#7526) 2016-10-10 21:14:32 +02:00
serve-favicon.js 🎨 add cache control configurations into the default config 2017-05-31 16:12:11 +01:00
serve-public-file.js 💁🏻 Moveshared/ to server/public (#8273) 2017-04-07 13:21:41 +01:00
static-theme.js New fully-loaded & validated activeTheme concept (#8146) 2017-03-13 21:13:17 +01:00
uncapitalise.js Misc Middleware cleanup (#7526) 2016-10-10 21:14:32 +02:00
url-redirects.js 🔥 revert: force admin url redirect (#8493) 2017-05-30 10:19:14 +01:00