diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/YomiGameServiceImpl.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/YomiGameServiceImpl.java index 03b1ffdc..bf5b2aa9 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/YomiGameServiceImpl.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/service/game/YomiGameServiceImpl.java @@ -3,6 +3,7 @@ package com.red.circle.other.app.service.game; import com.red.circle.auth.inner.endpoint.AuthClient; import com.red.circle.common.business.core.enums.SysOriginPlatformEnum; import com.red.circle.component.redis.service.RedisService; +import com.red.circle.framework.core.exception.ResponseException; import com.red.circle.framework.core.dto.ReqSysOrigin; import com.red.circle.framework.core.security.UserCredential; import com.red.circle.framework.dto.ResultResponse; @@ -190,6 +191,10 @@ public class YomiGameServiceImpl implements YomiGameService { } return new YomiBalanceCO(currentBalance); + } catch (ResponseException e) { + log.warn("yomi余额变动失败: platUserId={}, requestId={}, error={}", + userId, cmd.getRequestId(), e.getMessage()); + throw e; } catch (Exception e) { log.error("yomi余额变动失败: platUserId={}, requestId={}, error={}", userId, cmd.getRequestId(), e.getMessage(), e);