发送失败不中止。
This commit is contained in:
parent
1663c1945d
commit
ede373b888
3
sync.py
3
sync.py
@ -49,7 +49,10 @@ async def sync():
|
|||||||
))
|
))
|
||||||
|
|
||||||
for group in enabled_groups:
|
for group in enabled_groups:
|
||||||
|
try:
|
||||||
await get_bot().send_group_msg(message=message, group_id=group)
|
await get_bot().send_group_msg(message=message, group_id=group)
|
||||||
|
except Exception as e:
|
||||||
|
logger.error(f"发送消息到群组 {group} 失败: {e}")
|
||||||
|
|
||||||
for path in data.card_paths:
|
for path in data.card_paths:
|
||||||
try:
|
try:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user