Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit be77fdd

Browse files
⏫ Forwardport of magento/magento2#13061 to 2.3-develop branch
1 parent b7dc2b3 commit be77fdd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/web/mage/apply/main.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ define([
3232
} else if ($(el)[component]) {
3333
$(el)[component](config);
3434
}
35+
}, function (error) {
36+
if ('console' in window && typeof window.console.error === 'function') {
37+
console.error(error);
38+
}
39+
40+
return true;
3541
});
3642
}
3743

0 commit comments

Comments
 (0)