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}")