refactor(audio/youtubedl): improve empty entries error message

This commit is contained in:
2025-02-12 15:29:55 -05:00
parent 0f5532a14a
commit 8ee7693b91

View File

@@ -44,7 +44,7 @@ class YTDLSource(PCMVolumeTransformer):
if "entries" in data:
if not data["entries"]:
raise Exception("no entries provided by yt-dlp!")
raise Exception("no results found!")
data = data["entries"][0]
return cls(