From 7686adbaa3c85ed749c715f030bbe74829d48c90 Mon Sep 17 00:00:00 2001 From: itqop Date: Sun, 23 Feb 2025 20:11:36 +0300 Subject: [PATCH] fix --- telegram_bot/handlers/audio_handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/telegram_bot/handlers/audio_handler.py b/telegram_bot/handlers/audio_handler.py index 06af3f0..f264460 100644 --- a/telegram_bot/handlers/audio_handler.py +++ b/telegram_bot/handlers/audio_handler.py @@ -99,7 +99,7 @@ def convert_to_wav(input_file: str, output_file: str): Логирует ошибки FFmpeg. """ try: - logging.debug(f"🔄 Конвертация: {input_file} -> {output_file}") + logging.error(f"🔄 Конвертация: {input_file} -> {output_file}") command = [ "ffmpeg", "-y", "-i", input_file, @@ -112,7 +112,7 @@ def convert_to_wav(input_file: str, output_file: str): if result.returncode != 0: logging.error(f"❌ Ошибка FFmpeg:\n{result.stderr.decode()}") else: - logging.debug(f"✅ FFmpeg успешно создал файл {output_file}") + logging.error(f"✅ FFmpeg успешно создал файл {output_file}") except Exception as e: logging.error(f"❌ Исключение при конвертации {input_file}: {e}")