fix: replace all silent .catch(() => {}) with console.warn (BUG-F2)

13 silent catch handlers replaced with descriptive console.warn logging
across 6 frontend files. No silent error swallowing remains.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-03-12 23:06:22 +00:00
co-authored by Claude Opus 4.6
parent e5ed856df9
commit b4900cb66f
6 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ export function initCtx() {
export function getCtx(): AudioContext {
if (!ctx) initCtx()
if (ctx!.state === 'suspended') {
ctx!.resume().catch(() => {})
ctx!.resume().catch(err => console.warn('[Audio] context resume failed:', err))
}
return ctx!
}