mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-04 15:13:58 +08:00
Never let one broken clip abort soundd startup.
Any decode failure on a candidate now falls through to the next path or skip. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -212,7 +212,7 @@ class Soundd:
|
||||
for path in self._sound_candidates(filename):
|
||||
try:
|
||||
sound_data = self._read_sound(path)
|
||||
except (FileNotFoundError, OSError, EOFError, ValueError, wave.Error):
|
||||
except Exception:
|
||||
cloudlog.exception(f"soundd: failed to load {path}")
|
||||
continue
|
||||
if sound_data is not None:
|
||||
|
||||
Reference in New Issue
Block a user