From e2de66d850566b2054f6b073ad844f0679cf84a2 Mon Sep 17 00:00:00 2001 From: uwaa Date: Wed, 19 Feb 2025 04:46:25 +0000 Subject: [PATCH] add err msg --- static/rot/rot.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/rot/rot.js b/static/rot/rot.js index 33968fa5..62ca78c9 100644 --- a/static/rot/rot.js +++ b/static/rot/rot.js @@ -39,7 +39,9 @@ audio.currentTime = 0; audio.play().catch(() => getPromiseFromEvent(window, 'click').then(audio.play)); } - } catch {} + } catch { + console.log("Failed to play music"); + } } function volumeSet(number) {