From 9f5c1b2277d055c422a0f70d681c886d18416a60 Mon Sep 17 00:00:00 2001 From: anasty17 Date: Mon, 2 Dec 2024 05:08:24 +0200 Subject: [PATCH] forget to edit this Signed-off-by: anasty17 --- bot/modules/ytdlp.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bot/modules/ytdlp.py b/bot/modules/ytdlp.py index 00201f00b59..cc5184a238a 100644 --- a/bot/modules/ytdlp.py +++ b/bot/modules/ytdlp.py @@ -323,8 +323,9 @@ async def new_event(self): try: self.ffmpeg_cmds = eval(args["-ff"]) - except: + except Exception as e: self.ffmpeg_cmds = None + LOGGER.error(e) self.select = args["-s"] self.name = args["-n"]