chenbiao 2 жил өмнө
parent
commit
be3425fa84

+ 1 - 1
netflix-service/src/main/java/com/cyksj/service/chatgpt/impl/ChatGptAccountServiceImpl.java

@@ -67,7 +67,7 @@ public class ChatGptAccountServiceImpl implements ChatGptAccountService{
            refreshToken = loginResult.getStr("refresh_token");
            officialSession = execute.body();
        }catch (Exception e){
-           throw BusinessRuntimeException.getInstance("登录获取token错误 error:" + StringUtil.getErrorText(e));
+           throw BusinessRuntimeException.getInstance("登录获取token错误 error:" + e.getMessage());
        }
         chatgptSession.setOfficialSession(officialSession);
         chatgptSession.setEmail(account.getAccount());