From eda583da93a0047f10b5bc2fd6678694c2d815f0 Mon Sep 17 00:00:00 2001 From: ALEXTANG <574809918@qq.com> Date: Thu, 4 Aug 2022 15:41:36 +0800 Subject: [PATCH] Update GameConfig.cs --- Assets/TEngine/Runtime/Core/GameConfig.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/TEngine/Runtime/Core/GameConfig.cs b/Assets/TEngine/Runtime/Core/GameConfig.cs index a89fc08e..7d9218f4 100644 --- a/Assets/TEngine/Runtime/Core/GameConfig.cs +++ b/Assets/TEngine/Runtime/Core/GameConfig.cs @@ -68,7 +68,7 @@ namespace TEngine { _instance._versionConfig = JsonUtility.FromJson(configContent); } - catch (Exception e) + catch { TLogger.LogError($"configContent Conver failed,content{configContent}"); return false; @@ -204,7 +204,7 @@ namespace TEngine { innerVersionConfig = JsonUtility.FromJson(innerVersion); } - catch (Exception e) + catch { //如果反序列化失败了,就默认返回给业务逻辑需要解压了 TLogger.LogError($"GameConfig,JsonUtility.FromJson failed,{innerVersion}");