From 02e0f1ec9aaaacadde2f3b66cee2d70cd1f416e6 Mon Sep 17 00:00:00 2001 From: 1454 <19884453+1454@users.noreply.github.com> Date: Thu, 3 Sep 2026 15:07:26 -0500 Subject: [PATCH] soundd: narrow custom clip fallback errors Original PR: #116 by @1454 --- selfdrive/ui/soundd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/ui/soundd.py b/selfdrive/ui/soundd.py index 9fb778143..087710fc4 100644 --- a/selfdrive/ui/soundd.py +++ b/selfdrive/ui/soundd.py @@ -212,7 +212,7 @@ class Soundd: for path in self._sound_candidates(filename): try: sound_data = self._read_sound(path) - except Exception: + except (OSError, EOFError, ValueError, wave.Error): cloudlog.exception(f"soundd: failed to load {path}") continue if sound_data is not None: