优化了SereinEnv.WriteLine(Exception, InfoClass)输出,可以通过更改InfoClass控制是否输出异常堆栈信息。

优化了批量加载节点时,脚本节点类型分析异常的问题。
This commit is contained in:
fengjiayi
2025-07-17 22:46:40 +08:00
parent 550122208d
commit 88de5a21f5
13 changed files with 113 additions and 36 deletions

View File

@@ -37,13 +37,13 @@ namespace Serein.Workbench.Node.ViewModel
}
catch (Exception ex)
{
SereinEnv.WriteLine(InfoType.ERROR, ex.ToString());
SereinEnv.WriteLine(ex);
}
});
CommandLoadScript = new RelayCommand( o =>
{
NodeModel.ReloadScript();
NodeModel.ReloadScript(); // 工作台重新加载脚本
});
}