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([
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
Original file line number Diff line number Diff 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.' ,
You can’t perform that action at this time.
0 commit comments