Skip to content

[Bug]: Exceptions raised in asynchronous playback threads are lost #91

Description

@sepandhaghighi

Contact details

me@sepand.tech

What happened?

If an exception occurs while playing audio asynchronously, it is not propagated or accessible from the main thread.

Steps to reproduce

  1. Start playback with async_mode=True.
  2. Trigger a playback failure (e.g., terminate the backend process unexpectedly).
  3. Inspect the playback thread.

Expected behavior

The playback exception should be stored and available for inspection after the thread finishes.

Actual behavior

The original exception is lost, making it difficult to determine why playback failed.

Operating system

Linux

Python version

Python 3.11

Nava version

Nava 0.8

Relevant log output

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions