diff --git a/core/server/errors/index.js b/core/server/errors/index.js index 91aa13335f..5ff297af03 100644 --- a/core/server/errors/index.js +++ b/core/server/errors/index.js @@ -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( - '
Encountered the error:
' + '' + hbs.handlebars.Utils.escapeExpression(templateErr.message || templateErr) + '' + '
whilst trying to render an error page for the error:
' +