From 8a4beff4fceb2e55d8a94b513dfae3c84a80c395 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Mon, 9 Dec 2024 19:37:29 +0800 Subject: [PATCH] :bug: Fix refresh token in cloud game sign --- plugins/tools/cloud_game.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/tools/cloud_game.py b/plugins/tools/cloud_game.py index d038f7e7..1aeda4f7 100644 --- a/plugins/tools/cloud_game.py +++ b/plugins/tools/cloud_game.py @@ -75,6 +75,9 @@ class CloudGameHelper(Plugin): ) -> str: try: wallet = await self.get_wallet(client) + except InvalidCookies as error: + logger.warning("UID[%s] 获取云游戏钱包信息失败,API返回信息为 %s", client.player_id, str(error)) + raise error except SimnetBadRequest as error: logger.warning("UID[%s] 获取云游戏钱包信息失败,API返回信息为 %s", client.player_id, str(error)) if is_raise: