Permalink
Browse files

Minor code cleanup.

  • Loading branch information...
rmcardle committed Mar 20, 2013
1 parent 1608d48 commit 317175bb031ac329d277c3210571bc70ea061c60
Showing with 3 additions and 7 deletions.
  1. +3 −6 mRemoteV1/Config/Config.Settings.Load.vb
  2. +0 −1 mRemoteV1/UI/UI.Window.ComponentsCheck.vb
@@ -114,8 +114,7 @@ Namespace Config
End If
End With
Catch ex As Exception
- App.Runtime.log.Error("Loading settings failed" & vbNewLine & ex.Message)
- 'mC.AddMessage(Messages.MessageClass.ErrorMsg, "Loading settings failed" & vbNewLine & ex.Message, True)
+ Log.Error("Loading settings failed" & vbNewLine & ex.Message)
End Try
End Sub
@@ -196,8 +195,7 @@ Namespace Config
End If
End With
Catch ex As Exception
- App.Runtime.log.Error("LoadPanelsFromXML failed" & vbNewLine & ex.Message)
- 'mC.AddMessage(Messages.MessageClass.ErrorMsg, "LoadPanelsFromXML failed" & vbNewLine & ex.Message, True)
+ Log.Error("LoadPanelsFromXML failed" & vbNewLine & ex.Message)
End Try
End Sub
@@ -268,8 +266,7 @@ Namespace Config
Return Windows.screenshotPanel
End If
Catch ex As Exception
- App.Runtime.log.Error("GetContentFromPersistString failed" & vbNewLine & ex.Message)
- 'mC.AddMessage(Messages.MessageClass.ErrorMsg, "GetContentFromPersistString failed" & vbNewLine & ex.Message, True)
+ Log.Error("GetContentFromPersistString failed" & vbNewLine & ex.Message)
End Try
Return Nothing
@@ -539,7 +539,6 @@ Namespace UI
txtCheck2.Text = My.Language.strCcVNCFailed
MessageCollector.AddMessage(Messages.MessageClass.WarningMsg, "VNC " & errorMsg, True)
- 'mC.AddMessage(Messages.MessageClass.ErrorMsg, ex.Message, True)
End Try
If VNC IsNot Nothing Then VNC.Dispose()

0 comments on commit 317175b

Please sign in to comment.