File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
app/code/Magento/Ui/view/base/web/js Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -118,9 +118,10 @@ define([
118
118
component : node . component
119
119
} ) ;
120
120
loaded . resolve ( node , constr ) ;
121
- } , function ( ) {
121
+ } , function ( err ) {
122
122
consoleLogger . error ( 'componentLoadingFail' , {
123
- component : node . component
123
+ component : node . component ,
124
+ errorMsg : err
124
125
} ) ;
125
126
} ) ;
126
127
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ define(function () {
18
18
'Component "${$.component}" start initialization with instance name "${$.componentName}".' ,
19
19
componentStartLoading : ' Started loading the "${$.component}" component.' ,
20
20
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}" ' ,
22
22
depsLoadingFail : 'Could not get the declared "${$.deps}" dependency for the "${$.component}" instance.' ,
23
23
depsStartRequesting : 'Requesting the "${$.deps}" dependency for the "${$.component}" instance.' ,
24
24
depsFinishRequesting : 'The "${$.deps}" dependency for the "${$.component}" instance was received.' ,
You can’t perform that action at this time.
0 commit comments