Print errors to console with yt-dl

This commit is contained in:
nexy7574 2023-09-09 21:54:13 +01:00
parent e53ec7ef51
commit ea2645ef37

View file

@ -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",