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:
parent
274a1ed34a
commit
048e4e85d5
1 changed files with 2 additions and 2 deletions
|
|
@ -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]:
|
||||
|
|
|
|||
Loading…
Reference in a new issue