fix: improve log reliability and correlation

This commit is contained in:
chengyongru authored and chengyongru committed 2026-09-21 17:36:24 +08:00
1 parent 8eea1cb7a4
commit 8a7ca8a654
21 files changed
+698 -91

No files matched your search

+1 -1
View File
@@ -423,7 +423,7 @@ class WeixinChannel(BaseChannel):
self.config.base_url = base_url
return bool(self._token)
except Exception:
self.logger.error("Failed to load Weixin account state", exc_info=True)
self.logger.opt(exception=True).error("Failed to load Weixin account state")
return False
def _save_state(self, *, force: bool = False) -> None: