aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--ServiceManager/ServiceManager.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/ServiceManager/ServiceManager.cs b/ServiceManager/ServiceManager.cs
index cd15722..c7a6583 100644
--- a/ServiceManager/ServiceManager.cs
+++ b/ServiceManager/ServiceManager.cs
@@ -65,6 +65,11 @@ public class OpenGridMasterService : System.ServiceProcess.ServiceBase {
65 public static void Main() 65 public static void Main()
66 { 66 {
67 Console.WriteLine("Starting up OGS master service"); 67 Console.WriteLine("Starting up OGS master service");
68 ServiceBase.Run(new OpenGridMasterService()); 68 try {
69 ServiceBase.Run(new OpenGridMasterService());
70 } catch(Exception e) {
71 Console.WriteLine("THIS SHOULD NEVER HAPPEN!!!!!!!!!!!!!!!!!!!!!");
72 Console.WriteLine(e.ToString());
73 }
69 } 74 }
70} 75}