删除从unity出现的意外修改内容

This commit is contained in:
2025-12-03 09:41:48 +08:00
parent 1ddbeb64c2
commit aca8c86e97
2 changed files with 0 additions and 4 deletions

View File

@@ -6,7 +6,6 @@ using System.Collections;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using UnityEngine;
using static Convention.RScript.RScriptContext;
namespace Convention.RScript
@@ -284,12 +283,10 @@ namespace Convention.RScript
}
catch (RScriptException)
{
Debug.LogError($"current sentence: {sentence}");
throw;
}
catch (Exception ex)
{
Debug.LogError($"current sentence: {sentence}");
throw new RScriptRuntimeException($"Runtime error: {ex.Message}", CurrentRuntimePointer, ex);
}
}