脚本运行异常到事件总线
This commit is contained in:
parent
5011aa5ede
commit
83d23aa95b
@ -1,4 +1,4 @@
|
||||
using PLCSharp.Core.Common;
|
||||
using PLCSharp.Core.Common;
|
||||
using PLCSharp.Models;
|
||||
using Prism.Commands;
|
||||
using Prism.Mvvm;
|
||||
@ -255,6 +255,7 @@ namespace PLCSharp.VVMs.Workflows
|
||||
catch (Exception ex)
|
||||
{
|
||||
DebugLog += $"运行时异常: {ex}\n";
|
||||
globalModel.SendErr($"运行时异常: {ex}\n");
|
||||
Exception = true;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user