From 9c7d206f0f605d7ee50f76c5d7989ee6e3d048b2 Mon Sep 17 00:00:00 2001 From: makc Date: Fri, 31 May 2013 16:11:23 +0200 Subject: [PATCH] Closes #7 --- ColtPlugin/PluginMain.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ColtPlugin/PluginMain.cs b/ColtPlugin/PluginMain.cs index 8f69353..c741942 100644 --- a/ColtPlugin/PluginMain.cs +++ b/ColtPlugin/PluginMain.cs @@ -521,7 +521,15 @@ private void OpenInCOLT() stream.Close(); // Open it with default app (COLT) - Process.Start(coltFileName); + try + { + Process.Start(coltFileName); + } + + catch (Exception e) + { + TraceManager.Add("Could not start COLT: " + e.ToString()); + } // Remove older *.colt files foreach (String oldFile in Directory.GetFiles(coltFolderPath, "*.colt"))