diff options
author | gareth | 2007-05-14 00:16:44 +0000 |
---|---|---|
committer | gareth | 2007-05-14 00:16:44 +0000 |
commit | ca595e277933984c2465780c7437fbe3d960ec40 (patch) | |
tree | e1de2d99d5341675d4aeec2125dc4545ccfe8f2f | |
parent | A configuration file you say? (diff) | |
download | opensim-SC_OLD-ca595e277933984c2465780c7437fbe3d960ec40.zip opensim-SC_OLD-ca595e277933984c2465780c7437fbe3d960ec40.tar.gz opensim-SC_OLD-ca595e277933984c2465780c7437fbe3d960ec40.tar.bz2 opensim-SC_OLD-ca595e277933984c2465780c7437fbe3d960ec40.tar.xz |
some more try/catch
-rw-r--r-- | ServiceManager/ServiceManager.cs | 7 |
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 | } |