mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-04-17 09:22:52 +08:00
fix: add log
This commit is contained in:
@@ -339,7 +339,7 @@ class CloudClient(LinkAIClient):
|
|||||||
self.channel_mgr.add_channel(channel_type)
|
self.channel_mgr.add_channel(channel_type)
|
||||||
logger.info(f"[CloudClient] Channel '{channel_type}' added successfully")
|
logger.info(f"[CloudClient] Channel '{channel_type}' added successfully")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(f"[CloudClient] Failed to add channel '{channel_type}': {e}")
|
logger.error(f"[CloudClient] Failed to add channel '{channel_type}': {e}", exc_info=True)
|
||||||
self.send_channel_status(channel_type, "error", str(e))
|
self.send_channel_status(channel_type, "error", str(e))
|
||||||
return
|
return
|
||||||
self._report_channel_startup(channel_type)
|
self._report_channel_startup(channel_type)
|
||||||
|
|||||||
Reference in New Issue
Block a user