소스 검색

修改相册下载打印

leiyasi 1 년 전
부모
커밋
c5fc31fb15
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      GameClient/Assets/Game/HotUpdate/ServerProxy/PictureStorageHelper.cs

+ 4 - 4
GameClient/Assets/Game/HotUpdate/ServerProxy/PictureStorageHelper.cs

@@ -54,7 +54,7 @@ namespace GFGGame
         {
             if (count >= 5)
             {
-                ET.Log.Error("PoemGalleryData Download  failed!!! data:" + string.Join(",", data));
+                ET.Log.Error("PoemGalleryData Download  failed!!! data:" + JsonUtility.ToJson(data));
                 data.Ntexture = null;
                 ViewManager.Hide<ModalStatusView>();
                 yield return null;
@@ -65,7 +65,7 @@ namespace GFGGame
                 if (request.result == UnityWebRequest.Result.ProtocolError || request.result == UnityWebRequest.Result.ConnectionError)
                 {
                     PromptController.Instance.ShowFloatTextPrompt("下载失败");
-                    ET.Log.Error("Download  failed, error code:" + request.result);
+                    ET.Log.Error("Download  failed, error code:" + request.result, ",data:" + JsonUtility.ToJson(data));
                     count += 1;
                     yield return DownloadPicture(data, count);
                 }
@@ -96,7 +96,7 @@ namespace GFGGame
         {
             if (count >= 5)
             {
-                ET.Log.Error("PoemPhotoData Download  failed!!! data:" + string.Join(",", data));
+                ET.Log.Error("PoemPhotoData Download  failed!!! data:" + JsonUtility.ToJson(data));
                 data.Ntexture = null;
                 ViewManager.Hide<ModalStatusView>();
                 yield return null;
@@ -107,7 +107,7 @@ namespace GFGGame
                 if (request.result == UnityWebRequest.Result.ProtocolError || request.result == UnityWebRequest.Result.ConnectionError)
                 {
                     PromptController.Instance.ShowFloatTextPrompt("下载失败");
-                    ET.Log.Error("Download  failed, error code:" + request.result);
+                    ET.Log.Error("Download  failed, error code:" + request.result, ",data:" + JsonUtility.ToJson(data));
                     count += 1;
                     yield return DownloadPicture(data, count);
                 }