Update TEngineLogHelper.cs

This commit is contained in:
ALEXTANG
2023-04-18 17:07:50 +08:00
parent 7cb4d9ecf9
commit 14356bbaf0

View File

@@ -1,3 +1,4 @@
using System;
using System.Diagnostics; using System.Diagnostics;
using System.Text; using System.Text;
using Debug = UnityEngine.Debug; using Debug = UnityEngine.Debug;
@@ -160,6 +161,7 @@ namespace TEngine
else if (type == LogLevel.EXCEPTION) else if (type == LogLevel.EXCEPTION)
{ {
Debug.LogError(logStr); Debug.LogError(logStr);
throw new GameFrameworkException(logStr);
} }
} }