/[AnywhereTS-MSSQL]/trunk/TSAdminTool/frmConfigMode.cs
ViewVC logotype

Diff of /trunk/TSAdminTool/frmConfigMode.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/TSAdminTool/frmConfigMode.cs	2012/07/12 17:03:02	59
+++ trunk/TSAdminTool/frmConfigMode.cs	2012/07/12 18:56:31	64
@@ -129,7 +129,14 @@
             }
             else
             {
-                throw new Exception("Error: Unknown mode (84377)");
+                string error = "Error: Unknown mode (84377)";
+                using (log4net.NDC.Push(string.Format("mode={0}", ATSGlobals.managedMode)))
+                {
+                    Logging.ATSAdminLog.Error(error);
+                }
+                MessageBox.Show(string.Format("{0} -> {1}", error, string.Format("mode={0}", ATSGlobals.managedMode)));
+                return;
+
             }
             // Save the database directory to registry
             ProSupport.strDatabasePath = txtDatabasePath.Text.Trim();

 

  ViewVC Help
Powered by ViewVC 1.1.22