diff --git a/PLCSharpWpf/VVMs/Workflows/Workflow.cs b/PLCSharpWpf/VVMs/Workflows/Workflow.cs index 9284e76..e1ad41b 100644 --- a/PLCSharpWpf/VVMs/Workflows/Workflow.cs +++ b/PLCSharpWpf/VVMs/Workflows/Workflow.cs @@ -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; }