ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/AnywhereTS-MSSQL/trunk/TSAdminTool/frmClientProperties.cs
(Generate patch)

Comparing trunk/TSAdminTool/frmClientProperties.cs (file contents):
Revision 46 by william, Thu Jul 12 14:17:14 2012 UTC vs.
Revision 47 by william, Thu Jul 12 14:29:34 2012 UTC

# Line 567 | Line 567 | namespace AnywhereTS
567                      {
568                          currentConfig.ServerPort = Int32.Parse(txtServerPort.Text.Trim());
569                      }
570 <                    catch (Exception e)
570 >                    catch (Exception ex)
571                      {
572                          tabClientProperties.SelectTab("tabRdp");
573                          MessageBox.Show("Invalid server port!");
574 <                        using (log4net.NDC.Push(string.Format("SqlException: MESSAGE={0}{1}Diagnostics:{1}{2}", e.Message, System.Environment.NewLine, e.ToString())))
574 >                        using (log4net.NDC.Push(string.Format("SqlException: MESSAGE={0}{1}Diagnostics:{1}{2}", ex.Message, System.Environment.NewLine, ex.ToString())))
575                          {
576                              using (log4net.NDC.Push(string.Format("serverport={0}", txtServerPort.Text)))
577                              {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines