Parent Directory
|
Revision Log
|
Patch
--- trunk/TSAdminTool/TerminalServices.cs 2012/07/11 14:19:13 4 +++ trunk/TSAdminTool/TerminalServices.cs 2012/07/12 14:17:14 46 @@ -409,9 +409,13 @@ { CloseServer(server); } - catch + catch (Exception e) { MessageBox.Show("Error could not close terminal server connection (63210)"); + using (log4net.NDC.Push(string.Format("SqlException: MESSAGE={0}{1}Diagnostics:{1}{2}", e.Message, System.Environment.NewLine, e.ToString()))) + { + Logging.ATSAdminLog.Error("Error could not close terminal server connection (63210)"); + } } } return ret; @@ -473,9 +477,13 @@ { CloseServer(server); } - catch + catch(Exception e) { MessageBox.Show("Error could not close terminal server connection (63210)"); + using (log4net.NDC.Push(string.Format("SqlException: MESSAGE={0}{1}Diagnostics:{1}{2}", e.Message, System.Environment.NewLine, e.ToString()))) + { + Logging.ATSAdminLog.Error("Error could not close terminal server connection (63210)"); + } } } return ret;
ViewVC Help | |
Powered by ViewVC 1.1.22 |