diff --git a/cogs/ytdl.py b/cogs/ytdl.py index 00aaccc..cc7f1c2 100644 --- a/cogs/ytdl.py +++ b/cogs/ytdl.py @@ -24,7 +24,8 @@ class YoutubeDL(BotBaseCog): logging.error(process.stderr.read()) logging.error(process.returncode) await ctx.send(f"Downloading {video_or_audio} from {url}...", suppress_embeds=True) - except: + except Exception as e: + await ctx.send(f"Error: {e}") await ctx.send("Usage: !youtubedl ") #create a task