mirror of
https://github.com/zhaarey/AppleMusicDecrypt.git
synced 2025-10-23 15:11:06 +00:00
fix: add logger.catch for rip_song
This commit is contained in:
@@ -13,6 +13,7 @@ from src.url import Song, Album, URLType
|
|||||||
from src.utils import check_song_exists
|
from src.utils import check_song_exists
|
||||||
|
|
||||||
|
|
||||||
|
@logger.catch
|
||||||
async def rip_song(song: Song, auth_params: GlobalAuthParams, codec: str, config: Config, device: Device,
|
async def rip_song(song: Song, auth_params: GlobalAuthParams, codec: str, config: Config, device: Device,
|
||||||
force_save: bool = False):
|
force_save: bool = False):
|
||||||
logger.debug(f"Task of song id {song.id} was created")
|
logger.debug(f"Task of song id {song.id} was created")
|
||||||
|
|||||||
Reference in New Issue
Block a user