Skip to content

Commit

Permalink
🐛 修复潜在的入群审批错误图片检测错误捕捉,例如图片安全套餐用尽不返回预期结果导致报错
Browse files Browse the repository at this point in the history
  • Loading branch information
yzyyz1387 committed Nov 10, 2022
1 parent faa9e8c commit ca10b39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nonebot_plugin_admin/img_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ async def check_pic(bot: Bot, matcher: Matcher, event: GroupMessageEvent):
elif result['Suggestion'] == 'Pass':
pass
except TypeError:
logger.info("请求图片安全接口失败")
logger.error("请求图片安全接口失败")
pass


Expand Down

0 comments on commit ca10b39

Please sign in to comment.