From 35fbba3bcb5901516add3c12cca63aa308b42bef Mon Sep 17 00:00:00 2001 From: Peter Garland Date: Wed, 17 Jan 2018 08:28:42 -0800 Subject: [PATCH] Fixed bad references to common.i18n (#9402) no issue - happened during refactoring (search+replace) --- core/server/web/middleware/error-handler.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/server/web/middleware/error-handler.js b/core/server/web/middleware/error-handler.js index 473fcc1330..254491d4db 100644 --- a/core/server/web/middleware/error-handler.js +++ b/core/server/web/middleware/error-handler.js @@ -71,8 +71,8 @@ _private.JSONErrorRenderer = function JSONErrorRenderer(err, req, res, next) { / }; _private.ErrorFallbackMessage = function ErrorFallbackMessage(err) { - return '

' + common.common.common.i18n.t('errors.errors.oopsErrorTemplateHasError') + '

' + - '

' + common.common.i18n.t('errors.errors.encounteredError') + '

' + + return '

' + common.i18n.t('errors.errors.oopsErrorTemplateHasError') + '

' + + '

' + common.i18n.t('errors.errors.encounteredError') + '

' + '
' + escapeExpression(err.message || err) + '
' + '

' + common.i18n.t('errors.errors.whilstTryingToRender') + '

' + err.statusCode + ' ' + '
' + escapeExpression(err.message || err) + '
';