fix: improve warning message for missing context token in WeixinOCAdapter

This commit is contained in:
Soulter
2026-04-07 18:26:27 +08:00
parent 42fc16f1f0
commit dfca5cdb79

View File

@@ -782,7 +782,7 @@ class WeixinOCAdapter(Platform):
context_token = self._context_tokens.get(user_id)
if not context_token:
logger.warning(
"weixin_oc(%s): context token missing for %s, skip send",
"weixin_oc(%s): context token missing for %s, skip send. You should send one message to refresh context_token.",
self.meta().id,
user_id,
)