diff --git a/ktoolbox/cli.py b/ktoolbox/cli.py index fea305b..effc4e1 100644 --- a/ktoolbox/cli.py +++ b/ktoolbox/cli.py @@ -276,12 +276,14 @@ async def sync_creator( ) ) else: - logger.warning( + logger.error( generate_msg( - f"Failed to fetch the name of creator <{creator_id}>, use creator ID as directory name", + f"Failed to fetch the name of creator <{creator_id}>", detail=creator_ret.message ) ) + return creator_ret.message + creator_path = path / sanitize_filename(creator_name) creator_path.mkdir(exist_ok=True)