Skip to content

Commit

Permalink
Fix incorrect error message
Browse files Browse the repository at this point in the history
  • Loading branch information
chenmozhijin committed Mar 17, 2024
1 parent 67f5fd6 commit d219f98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def get_lyrics(self, song_info: dict) -> tuple[None | Lyrics, bool]:
song_name_str = "歌名:" + song_info['title']
if error1 is not None:
logging.error(f"获取歌词失败:{song_name_str}, 源:{song_info['source']}, id: {song_info['id']},错误:{error1}")
self.signals.error.emit(f"获取歌名:{song_name_str}的加密歌词失败:{error1}")
self.signals.error.emit(f"获取 {song_name_str} 加密歌词失败:{error1}")
return None, False

if error1_type != LyricsProcessingError.REQUEST and not from_cache: # 如果不是请求错误则缓存
Expand Down

0 comments on commit d219f98

Please sign in to comment.