浏览代码

断线重连提示

guodong 2 年之前
父节点
当前提交
ca891f33fa
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      GameClient/Assets/Game/HotUpdate/Controller/LoginController.cs

+ 1 - 1
GameClient/Assets/Game/HotUpdate/Controller/LoginController.cs

@@ -261,7 +261,7 @@ namespace GFGGame
             int errorCode = await LoginHelper.EnterGame(GameGlobal.zoneScene);
             if (errorCode != ErrorCode.ERR_Success)
             {
-                Log.Error("Reconnect fail!");
+                Log.Error($"Reconnect fail, errorCode {errorCode}!");
                 AlertSystem.Show("重新连接失败,游戏或已更新,请重新进入游戏获得最佳体验。")
                         .SetRightButton(true, "好的", (object data) =>
                         {