From 620638a56ee4f4fc801f48c89cb461e78202db27 Mon Sep 17 00:00:00 2001 From: Harvey Zack Date: Thu, 8 Nov 2018 20:26:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8D=95=E6=8D=89=E5=85=A8=E5=B1=80=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/index.html | 2 +- docs/js/index.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 => {