fix(channels): retain scheduled results across pre-send outages

This commit is contained in:
Xubin Ren committed 2026-10-17 12:49:03 +08:00
1 parent faf1efaf09
commit 9c1b16b3cc
27 files changed
+568 -51

No files matched your search

+2 -1
View File
@@ -12,6 +12,7 @@ from typing import Any, cast
from pydantic import Field
from nanobot.bus.delivery import ChannelNotReadyError
from nanobot.bus.events import OutboundMessage
from nanobot.bus.outbound_events import ProgressEvent
from nanobot.bus.queue import MessageBus
@@ -416,7 +417,7 @@ class WecomChannel(BaseChannel):
):
return
if not self._client:
raise RuntimeError("WeCom client not initialized")
raise ChannelNotReadyError("WeCom client not initialized")
try:
content = (msg.content or "").strip()