aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/App.xaml.cs
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/PPC/Tango.PPC.UI/App.xaml.cs
parent9f3968271713394e958ba4829c11014958be44dc (diff)
downloadTango-abd9951fb899fcaaba8235ec92088f16d10e3918.tar.gz
Tango-abd9951fb899fcaaba8235ec92088f16d10e3918.zip
Working on external bridge v2
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/App.xaml.cs')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/App.xaml.cs6
1 files changed, 6 insertions, 0 deletions
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!");