From 14356bbaf06b46c4737d14b7c51b0a98148f8a50 Mon Sep 17 00:00:00 2001 From: ALEXTANG <574809918@qq.com> Date: Tue, 18 Apr 2023 17:07:50 +0800 Subject: [PATCH] Update TEngineLogHelper.cs --- Assets/TEngine/Runtime/GameFramework/Log/TEngineLogHelper.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Assets/TEngine/Runtime/GameFramework/Log/TEngineLogHelper.cs b/Assets/TEngine/Runtime/GameFramework/Log/TEngineLogHelper.cs index e2e5de97..83ec3ed1 100644 --- a/Assets/TEngine/Runtime/GameFramework/Log/TEngineLogHelper.cs +++ b/Assets/TEngine/Runtime/GameFramework/Log/TEngineLogHelper.cs @@ -1,3 +1,4 @@ +using System; using System.Diagnostics; using System.Text; using Debug = UnityEngine.Debug; @@ -160,6 +161,7 @@ namespace TEngine else if (type == LogLevel.EXCEPTION) { Debug.LogError(logStr); + throw new GameFrameworkException(logStr); } }