File: crates/web/src/test_hooks/dispatcher.rs:66, 89, 121, 134, crates/web/src/voice.rs:60
Severity: UX
Obvious? no
User-visible browser-console messages use format!("{e:?}") with Debug formatting. Display is preferable for end-users; Debug exposes type internals.
While these messages target test infra and dev console, the voice.rs AudioContext failure surfaces back to the UI layer and benefits from a human-readable error.
Fix: switch to {e} (Display) on user-visible paths; keep {e:?} only on internal-only logs.
Filed by /general-audit @ b901575 (2026-05-02). master: #513.
File:
crates/web/src/test_hooks/dispatcher.rs:66, 89, 121, 134,crates/web/src/voice.rs:60Severity: UX
Obvious? no
User-visible browser-console messages use
format!("{e:?}")withDebugformatting.Displayis preferable for end-users;Debugexposes type internals.While these messages target test infra and dev console, the
voice.rsAudioContext failure surfaces back to the UI layer and benefits from a human-readable error.Fix: switch to
{e}(Display) on user-visible paths; keep{e:?}only on internal-only logs.Filed by
/general-audit@b901575(2026-05-02). master: #513.