Fixed bad references to common.i18n (#9402)
no issue - happened during refactoring (search+replace)
This commit is contained in:
parent
0121683fd8
commit
35fbba3bcb
@ -71,8 +71,8 @@ _private.JSONErrorRenderer = function JSONErrorRenderer(err, req, res, next) { /
|
||||
};
|
||||
|
||||
_private.ErrorFallbackMessage = function ErrorFallbackMessage(err) {
|
||||
return '<h1>' + common.common.common.i18n.t('errors.errors.oopsErrorTemplateHasError') + '</h1>' +
|
||||
'<p>' + common.common.i18n.t('errors.errors.encounteredError') + '</p>' +
|
||||
return '<h1>' + common.i18n.t('errors.errors.oopsErrorTemplateHasError') + '</h1>' +
|
||||
'<p>' + common.i18n.t('errors.errors.encounteredError') + '</p>' +
|
||||
'<pre>' + escapeExpression(err.message || err) + '</pre>' +
|
||||
'<br ><p>' + common.i18n.t('errors.errors.whilstTryingToRender') + '</p>' +
|
||||
err.statusCode + ' ' + '<pre>' + escapeExpression(err.message || err) + '</pre>';
|
||||
|
Loading…
Reference in New Issue
Block a user