Skip to content

Commit 85660e6

Browse files
authored
#16887 Fix blocked a frame with origin
Add logging of exception
1 parent 99c1408 commit 85660e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/code/Magento/PageCache/view/frontend/web/js/page-cache.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
define([
77
'jquery',
88
'domReady',
9+
'consoleLogger',
910
'jquery/ui',
1011
'mage/cookies'
1112
], function ($, domReady) {
@@ -61,6 +62,7 @@ define([
6162
elem.contentDocument || (elem.contentWindow ? elem.contentWindow.document : []) :
6263
$.merge([], elem.childNodes);
6364
} catch (e) {
65+
consoleLogger.error(e);
6466
return [];
6567
}
6668
});

0 commit comments

Comments
 (0)