chenbiao 2 سال پیش
والد
کامیت
be3425fa84
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      netflix-service/src/main/java/com/cyksj/service/chatgpt/impl/ChatGptAccountServiceImpl.java

+ 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());