Skip to content

audit F50 [UX]: dispatcher + voice debug-format errors into user-visible warnings #549

@intendednull

Description

@intendednull

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions