aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2020-01-13 19:22:50 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2020-01-13 19:22:50 +0200
commitabd9951fb899fcaaba8235ec92088f16d10e3918 (patch)
treec2782956114543cb9536d65ca82342a117686395 /Software/Visual_Studio/MachineStudio
parent9f3968271713394e958ba4829c11014958be44dc (diff)
downloadTango-abd9951fb899fcaaba8235ec92088f16d10e3918.tar.gz
Tango-abd9951fb899fcaaba8235ec92088f16d10e3918.zip
Working on external bridge v2
Diffstat (limited to 'Software/Visual_Studio/MachineStudio')
-rw-r--r--Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.xaml.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.xaml.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.xaml.cs
index 161a8cca7..e51247337 100644
--- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.xaml.cs
+++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.xaml.cs
@@ -147,6 +147,13 @@ namespace Tango.MachineStudio.UI
}
catch { }
+ if (e.Exception.ToString().Contains("A Task's exception(s) were not observed"))
+ {
+ e.TryRecover = true;
+ LogManager.Log("Task not observed exception. Ignoring...");
+ return;
+ }
+
try
{
var eventLogger = TangoIOC.Default.GetInstance<IEventLogger>();