Skip to content

Commit

Permalink
Closes #7
Browse files Browse the repository at this point in the history
  • Loading branch information
makc committed May 31, 2013
1 parent 92527fa commit 9c7d206
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion ColtPlugin/PluginMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit 9c7d206

Please # to comment.