Similar question as this topic.
But I couldn’t find Engine.GetService for Alternet.Scripter.Roslyn.RoslynScriptHost and Alternet.Scripter.Python.ScriptHost.
I also try to use ScriptRun.ScriptError += ScriptRunner_ScriptError, but it didn’t be triggered when exception happened.
private void ScriptRunner_ScriptError(object sender, ScriptErrorEventArgs e)
{
var message = string.Join("\r\n", e.Errors.Select(x => x.ToString()).ToArray());
}
Is there any way to get more information about ScriptRun run exception?
Thanks.