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

Diff of /trunk/TSAdminTool/ImageDesigntimeConfig.cs

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

--- trunk/TSAdminTool/ImageDesigntimeConfig.cs	2012/07/12 18:17:31	63
+++ trunk/TSAdminTool/ImageDesigntimeConfig.cs	2012/07/12 18:56:31	64
@@ -101,7 +101,15 @@
                     ReadFromDatabase(row);
                 }
                 else
-                    throw new Exception("Error: Default record not written (24712).");
+                {
+                    string error = "Error: Default record not written (24712)";
+                    using (log4net.NDC.Push(string.Format("recordname={0}", DEFAULT_RECORD_NAME)))
+                    {
+                        Logging.ATSAdminLog.Error(error);
+                    }
+                    MessageBox.Show(string.Format("{0} -> {1}", error, string.Format("recordname={0}", DEFAULT_RECORD_NAME)));
+                    return;
+                }
             }
         }
 

 

  ViewVC Help
Powered by ViewVC 1.1.22