test(cron): narrow delivery review to saved-chat routing
This commit is contained in:
1 parent
8691bdedd5
commit
61db036cee
32 files changed
+140
-774
No files matched your search
@@ -12,7 +12,6 @@ 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
|
||||
@@ -417,7 +416,7 @@ class WecomChannel(BaseChannel):
|
||||
):
|
||||
return
|
||||
if not self._client:
|
||||
raise ChannelNotReadyError("WeCom client not initialized")
|
||||
raise RuntimeError("WeCom client not initialized")
|
||||
|
||||
try:
|
||||
content = (msg.content or "").strip()
|
||||
|
||||
Reference in new issue
Block a user