Parent Directory
|
Revision Log
|
Patch
--- trunk/TSAdminTool/frmAdmin.cs 2012/07/12 18:17:31 63 +++ trunk/TSAdminTool/frmAdmin.cs 2012/07/12 18:56:31 64 @@ -609,10 +609,13 @@ } else { - //throw new Exception(string.Format("Error: Cannot find record to delete (43556) for mac address: ")); string error = string.Format("Error: Cannot find record to delete (43556) for mac address: {0}", selectedClientMacAddress); - Logging.ATSAdminLog.Error(error); - MessageBox.Show(error); + using (log4net.NDC.Push(string.Format("MacAddress={0}", selectedClientMacAddress))) + { + Logging.ATSAdminLog.Error(error); + } + MessageBox.Show(string.Format("{0} -> {1}", error, string.Format("MacAddress={0}", selectedClientMacAddress))); + return; } } }
ViewVC Help | |
Powered by ViewVC 1.1.22 |