Compare commits

...

2 Commits

2 changed files with 0 additions and 4 deletions

View File

@@ -5,7 +5,6 @@ using System.Diagnostics.CodeAnalysis;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
using System.Text; using System.Text;
using UnityEditor;
namespace Convention.RScript.Variable namespace Convention.RScript.Variable
{ {

View File

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