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 |
|
{ |