Skip to main content

## diagnostics_export

# Function diagnostics_export

Source

    pub async fn diagnostics_export(
        app: AppHandle,
        server_url: Option<String>,
    ) -> Result<DiagnosticsBundle, String>

Expand description

Write a redacted diagnostics archive and return where it went.

## §Blocking I/O

This reads and rewrites every log file. It is an `async` command so it does not block the IPC thread, but it must never be called from a player event callback — see the deadlock note in CLAUDE.md.

TRACES: UR-078 | DR-218