🐛 Fix refresh token in cloud game sign

This commit is contained in:
xtaodada 2024-12-09 19:37:29 +08:00
parent dc73b2f064
commit 8a4beff4fc
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -75,6 +75,9 @@ class CloudGameHelper(Plugin):
) -> str: ) -> str:
try: try:
wallet = await self.get_wallet(client) 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: except SimnetBadRequest as error:
logger.warning("UID[%s] 获取云游戏钱包信息失败API返回信息为 %s", client.player_id, str(error)) logger.warning("UID[%s] 获取云游戏钱包信息失败API返回信息为 %s", client.player_id, str(error))
if is_raise: if is_raise: