Parent Directory
|
Revision Log
|
Patch
--- trunk/TSAdminTool/ProSupport.cs 2012/07/12 14:29:34 47 +++ trunk/TSAdminTool/ProSupport.cs 2012/07/12 18:56:31 64 @@ -227,7 +227,15 @@ } } else - throw new Exception("Unknown TFTP mode 28158"); + { + string error = "Error: Unknown TFTP Config mode (28158)"; + using (log4net.NDC.Push(string.Format("tftpConfig={0}", ATSGlobals.tftpConfig))) + { + Logging.ATSAdminLog.Error(error); + } + MessageBox.Show(string.Format("{0} -> {1}", error, string.Format("tftpConfig={0}", ATSGlobals.tftpConfig))); + return; + } } // Copy image file to all external tftp directories/servers @@ -347,7 +355,15 @@ } } else - throw new Exception("Unknown TFTP mode 48158"); + { + string error = "Error: Unknown TFTP Config mode (48158)"; + using (log4net.NDC.Push(string.Format("tftpConfig={0}", ATSGlobals.tftpConfig))) + { + Logging.ATSAdminLog.Error(error); + } + MessageBox.Show(string.Format("{0} -> {1}", error, string.Format("tftpConfig={0}", ATSGlobals.tftpConfig))); + return; + } } @@ -465,7 +481,15 @@ } } else - throw new Exception("Unknown TFTP mode 88158"); + { + string error = "Error: Unknown TFTP Config mode (88158)"; + using (log4net.NDC.Push(string.Format("tftpConfig={0}", ATSGlobals.tftpConfig))) + { + Logging.ATSAdminLog.Error(error); + } + MessageBox.Show(string.Format("{0} -> {1}", error, string.Format("tftpConfig={0}", ATSGlobals.tftpConfig))); + return; + } WriteHostsFiles(); ATSImageRuntimeConfig currentConfig = new ATSImageRuntimeConfig();
ViewVC Help | |
Powered by ViewVC 1.1.22 |