Merge branch 'main' of http://www.liubai.site:3000/ninemine/RScript
This commit is contained in:
@@ -6,6 +6,7 @@ using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Linq;
|
||||
using UnityEngine;
|
||||
using static Convention.RScript.RScriptContext;
|
||||
|
||||
namespace Convention.RScript
|
||||
@@ -283,10 +284,12 @@ 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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user