Skip to content

Commit f6924b4

Browse files
Merge remote-tracking branch '38971/fix-for-issue-36761' into comprs_nov
2 parents 830a2ad + 8f9a461 commit f6924b4

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

app/code/Magento/Ui/view/base/web/js/core/renderer/layout.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,10 @@ define([
118118
component: node.component
119119
});
120120
loaded.resolve(node, constr);
121-
}, function () {
121+
}, function (err) {
122122
consoleLogger.error('componentLoadingFail', {
123-
component: node.component
123+
component: node.component,
124+
errorMsg: err
124125
});
125126
});
126127

app/code/Magento/Ui/view/base/web/js/lib/logger/message-pool.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ define(function () {
1818
'Component "${$.component}" start initialization with instance name "${$.componentName}".',
1919
componentStartLoading: ' Started loading the "${$.component}" component.',
2020
componentFinishLoading: 'The "${$.component}" component was loaded.',
21-
componentLoadingFail: 'Failed to load the "${$.component}" component.',
21+
componentLoadingFail: 'Failed to load the "${$.component}" component. Due to "${$.errorMsg}"',
2222
depsLoadingFail: 'Could not get the declared "${$.deps}" dependency for the "${$.component}" instance.',
2323
depsStartRequesting: 'Requesting the "${$.deps}" dependency for the "${$.component}" instance.',
2424
depsFinishRequesting: 'The "${$.deps}" dependency for the "${$.component}" instance was received.',

0 commit comments

Comments
 (0)