We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is the second part, or follow up to #1964
No matter what happens in a theme, or how bad an error is, the blog should not crash, it should just show a 500 error page with details of the error.
The text was updated successfully, but these errors were encountered:
The crash happens when res.render call express-hbs module. One way to catch this exception is:
process.on('uncaughtException', function(err) { console.log(typeof err); });
But it's not friendly to user. I think Ghost can track all http connections, and send 500 error to them when this kind of exception happened.
There is a existed called 'domain' which is used to do this thing. You guys can try.
Sorry, something went wrong.
I have opened an issue and submitted a PR against express-hbs to fix this:
TryGhost/express-hbs#47
I merged and add the template filename to the error. Try [email protected] from npm.
3961b71
ErisDS
No branches or pull requests
Issue Summary
This is the second part, or follow up to #1964
No matter what happens in a theme, or how bad an error is, the blog should not crash, it should just show a 500 error page with details of the error.
Steps to Reproduce
Technical details:
The text was updated successfully, but these errors were encountered: