diff --git a/docs/index.html b/docs/index.html index 28f54202c..76a984d30 100644 --- a/docs/index.html +++ b/docs/index.html @@ -20,7 +20,7 @@
diff --git a/docs/js/index.js b/docs/js/index.js index f5bee1c4d..e16fc223d 100644 --- a/docs/js/index.js +++ b/docs/js/index.js @@ -27,6 +27,10 @@ function initApp(app) { }); } +window.addEventListener('error', e => { + log(e.message); +}); + function runCode() { try { Artplayer.instances.forEach(ins => {