From 048e4e85d5ceb6bbb9f6a6d2b2efbc259cc331ff Mon Sep 17 00:00:00 2001 From: Broque Thomas <26755000+Nezreka@users.noreply.github.com> Date: Thu, 21 May 2026 18:24:56 -0700 Subject: [PATCH] Log exception when inferring HiFi manifest ext Add a debug log in the exception handler that occurs while inferring legacy HiFi track manifest extensions. Previously exceptions were silently ignored; this change records the error message via logger.debug to aid debugging without changing behavior. --- core/hifi_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/hifi_client.py b/core/hifi_client.py index b6c854ee..242983ea 100644 --- a/core/hifi_client.py +++ b/core/hifi_client.py @@ -289,8 +289,8 @@ class HiFiClient(DownloadSourcePlugin): return 'flac' if 'mp4' in mime or 'aac' in codecs: return 'm4a' - except Exception: - pass + except Exception as e: + logger.debug("Failed to infer legacy HiFi track manifest extension: %s", e) return fallback def check_instance_capabilities(self, url: str, timeout: int = 5) -> Dict[str, Any]: