mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
💬 添加报错用户信息
This commit is contained in:
parent
3c4e66ab65
commit
69c21a0518
@ -116,7 +116,10 @@ class MemberUpdateManage:
|
|||||||
try:
|
try:
|
||||||
await u.save()
|
await u.save()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(f"创建用户数据失败: {e}", "更新群组成员信息")
|
logger.error(
|
||||||
|
f"创建用户 {u.user_name}({u.user_id}) 数据失败: {e}",
|
||||||
|
"更新群组成员信息",
|
||||||
|
)
|
||||||
if data_list[1]:
|
if data_list[1]:
|
||||||
await GroupInfoUser.bulk_update(data_list[1], ["user_name"], 30)
|
await GroupInfoUser.bulk_update(data_list[1], ["user_name"], 30)
|
||||||
logger.debug(
|
logger.debug(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user