aboutsummaryrefslogtreecommitdiffstatsci
path: root/Tests/BasicTests.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/BasicTests.cs')
-rw-r--r--Tests/BasicTests.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/Tests/BasicTests.cs b/Tests/BasicTests.cs
index 62ddc567..cd9e3ba3 100644
--- a/Tests/BasicTests.cs
+++ b/Tests/BasicTests.cs
@@ -145,8 +145,12 @@ namespace Tests
idx = testFiles.Length - 1;
this.Title = testFiles [idx] + ". Press <F3> to cycle examples.";
- GraphicObject obj = CrowInterface.LoadInterface(testFiles[idx]);
- obj.DataSource = this;
+ try {
+ GraphicObject obj = CrowInterface.LoadInterface(testFiles[idx]);
+ obj.DataSource = this;
+ } catch (Exception ex) {
+ Debug.WriteLine (ex.Message + ex.InnerException);
+ }
}
void Tv_SelectedItemChanged (object sender, SelectionChangeEventArgs e)
{