some more try/catch

zircon^2
gareth 2007-05-14 00:16:44 +00:00
parent 67e7d126f3
commit ca595e2779
1 changed files with 6 additions and 1 deletions

View File

@ -65,6 +65,11 @@ public class OpenGridMasterService : System.ServiceProcess.ServiceBase {
public static void Main()
{
Console.WriteLine("Starting up OGS master service");
ServiceBase.Run(new OpenGridMasterService());
try {
ServiceBase.Run(new OpenGridMasterService());
} catch(Exception e) {
Console.WriteLine("THIS SHOULD NEVER HAPPEN!!!!!!!!!!!!!!!!!!!!!");
Console.WriteLine(e.ToString());
}
}
}