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

This commit is contained in:
Ryan 2025-02-12 15:29:55 -05:00
parent 0f5532a14a
commit 8ee7693b91
Signed by: ErrorNoInternet
GPG Key ID: 2486BFB7B1E6A4A3

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(