Skip to content

Commit

Permalink
typo: 修正日志提示文字
Browse files Browse the repository at this point in the history
  • Loading branch information
nfe-w committed Jun 26, 2024
1 parent a8aceba commit 60ae55d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions query_task/_query_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def push(self, title, content, jump_url=None, pic_url=None, extend_data=None):
for item in self.target_push_name_list:
target_push_channel = push_channel.push_channel_dict.get(item, None)
if target_push_channel is None:
log.error(f"【{self.type}】推送通道【{item}】不存在")
log.error(f"【{self.name}】推送通道【{item}】不存在")
else:
try:
if extend_data is None:
Expand All @@ -74,4 +74,4 @@ def push(self, title, content, jump_url=None, pic_url=None, extend_data=None):
}
target_push_channel.push(title, content, jump_url, pic_url, extend_data)
except Exception as e:
log.error(f"【{self.type}】推送通道【{item}】出错:{e}", exc_info=True)
log.error(f"【{self.name}】推送通道【{item}】出错:{e}", exc_info=True)

0 comments on commit 60ae55d

Please sign in to comment.