From 1087fa9b7fc4618b344bad84cf7135ea971530b0 Mon Sep 17 00:00:00 2001 From: WorldObservationLog Date: Sun, 5 May 2024 00:16:56 +0800 Subject: [PATCH] fix: add logger.catch for rip_song --- src/rip.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rip.py b/src/rip.py index e06b9a5..1c98266 100644 --- a/src/rip.py +++ b/src/rip.py @@ -13,6 +13,7 @@ from src.url import Song, Album, URLType from src.utils import check_song_exists +@logger.catch async def rip_song(song: Song, auth_params: GlobalAuthParams, codec: str, config: Config, device: Device, force_save: bool = False): logger.debug(f"Task of song id {song.id} was created")