From ea2645ef3742c80a1e743ccaeb3e1d8255fa2ffb Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Sat, 9 Sep 2023 21:54:13 +0100 Subject: [PATCH] Print errors to console with yt-dl --- cogs/other.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cogs/other.py b/cogs/other.py index 3eb4e1a..dd6cace 100644 --- a/cogs/other.py +++ b/cogs/other.py @@ -966,6 +966,7 @@ class OtherCog(commands.Cog): ) await self.bot.loop.run_in_executor(None, partial(downloader.download, [url])) except yt_dlp.utils.DownloadError as e: + traceback.print_exc() return await ctx.edit( embed=discord.Embed( title="Error", @@ -1011,6 +1012,7 @@ class OtherCog(commands.Cog): ) shutil.move(str(bak), str(file)) except subprocess.CalledProcessError as e: + traceback.print_exc() return await ctx.edit( embed=discord.Embed( title="Error",