mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
commit
86468742b0
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ errors = {
|
|||
// And then try to explain things to the user...
|
||||
// Cheat and output the error using handlebars escapeExpression
|
||||
return res.status(500).send(
|
||||
'<h1>Oops, seems there is an an error in the error template.</h1>' +
|
||||
'<h1>Oops, seems there is an error in the error template.</h1>' +
|
||||
'<p>Encountered the error: </p>' +
|
||||
'<pre>' + hbs.handlebars.Utils.escapeExpression(templateErr.message || templateErr) + '</pre>' +
|
||||
'<br ><p>whilst trying to render an error page for the error: </p>' +
|
||||
|
|
Loading…
Add table
Reference in a new issue