From 700151510b807783ebeec4a8dcd81c379fa4a967 Mon Sep 17 00:00:00 2001 From: Liwanyi Date: Tue, 8 Nov 2022 15:55:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/class/utils/CommonUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/class/utils/CommonUtils.ts b/src/class/utils/CommonUtils.ts index eaa5da8..7d4d95d 100644 --- a/src/class/utils/CommonUtils.ts +++ b/src/class/utils/CommonUtils.ts @@ -209,7 +209,7 @@ export default class CommonUtils extends WuhuBase { const audio = new Audio(url); audio.addEventListener("canplaythrough", () => { audio.play() - .catch(err => Log.error(err)) + .catch(err => Log.error('播放音频出错', err.message, err.stack)) .then(); }); }