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.
This commit is contained in:
Broque Thomas 2026-05-21 18:24:56 -07:00
parent 274a1ed34a
commit 048e4e85d5

View file

@ -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]: