♻️ use logging when forwarding messages fails

This commit is contained in:
FuQuan233 2025-02-28 11:28:20 +08:00
parent a6fa27dd9a
commit 405d5d367f

View file

@ -285,9 +285,7 @@ async def process_messages(group_id: int):
), ),
) )
except Exception as e: except Exception as e:
await handler.send( logger.error(f"合并转发消息发送失败:\n{e!s}\n")
f"合并转发消息发送失败:\n{e!s}\n" + reasoning_content
)
assert reply is not None assert reply is not None
logger.info( logger.info(