lchtangen/SampleMind-AI---Beta

Improve error messages in audio engine

Open

#5 geöffnet am 4. Okt. 2025

Auf GitHub ansehen
 (1 Kommentar) (1 Reaktion) (2 zugewiesene Personen)Python (2 Forks)auto 404
audiobeginnergood first issue

Repository-Metriken

Stars
 (1 Star)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Description: Make error messages more helpful for users.

Tasks:

  • Add context to exceptions
  • Suggest solutions
  • Include relevant file paths

File: src/samplemind/core/engine/audio_engine.py

Example:

# Before
raise ValueError("Invalid audio file")

# After
raise ValueError(
    f"Invalid audio file: {file_path}\n"
    f"Supported formats: WAV, MP3, FLAC\n"
    f"Please check the file format and try again."
)

Difficulty: 🟢 Beginner Time: 1-2 hours

See docs/GOOD_FIRST_ISSUES.md Issue #5 for details.

Contributor Guide