diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2020-01-13 19:22:50 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2020-01-13 19:22:50 +0200 |
| commit | abd9951fb899fcaaba8235ec92088f16d10e3918 (patch) | |
| tree | c2782956114543cb9536d65ca82342a117686395 /Software/Visual_Studio/PPC | |
| parent | 9f3968271713394e958ba4829c11014958be44dc (diff) | |
| download | Tango-abd9951fb899fcaaba8235ec92088f16d10e3918.tar.gz Tango-abd9951fb899fcaaba8235ec92088f16d10e3918.zip | |
Working on external bridge v2
Diffstat (limited to 'Software/Visual_Studio/PPC')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.Common/Connection/DefaultMachineProvider.cs | 2 | ||||
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.UI/App.xaml.cs | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.Common/Connection/DefaultMachineProvider.cs b/Software/Visual_Studio/PPC/Tango.PPC.Common/Connection/DefaultMachineProvider.cs index 6d90ece73..9b818bd9d 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.Common/Connection/DefaultMachineProvider.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.Common/Connection/DefaultMachineProvider.cs @@ -81,7 +81,7 @@ namespace Tango.PPC.Common.Connection MachineOperator.EnableJobResume = true; MachineOperator.UseKeepAlive = true; MachineOperator.EnableMachineStatusUpdates = true; - MachineOperator.EnableDiagnostics = false; + MachineOperator.EnableDiagnostics = true; MachineOperator.EnableEmbeddedDebugging = settings.EnableEmbeddedDebugLogs; MachineOperator.EnableAutomaticThreadLoading = settings.EnableAutomaticThreadLoading; diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/App.xaml.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/App.xaml.cs index ebe68a5d3..fd0e288c8 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/App.xaml.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/App.xaml.cs @@ -111,6 +111,12 @@ namespace Tango.PPC.UI return; } + if (e.Exception.ToString().Contains("A Task's exception(s) were not observed")) + { + LogManager.Log("Task not observed exception. Ignoring..."); + return; + } + try { LogManager.Log(e.Exception, "Application Crashed!"); |
