Skip to content

Commit

Permalink
Add error logging to RemoteDesktopConnectionManager.DecryptPassword().
Browse files Browse the repository at this point in the history
  • Loading branch information
rmcardle committed Nov 17, 2013
1 parent 69befbc commit 39f22de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mRemoteV1/Config/Import/RemoteDesktopConnectionManager.vb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Imports System.IO
Imports System.Runtime.InteropServices
Imports mRemoteNG.Connection.Protocol
Imports mRemoteNG.App.Runtime

Namespace Config.Import
Public Class RemoteDesktopConnectionManager
Expand Down Expand Up @@ -285,6 +286,7 @@ Namespace Config.Import

Return New String(plaintextArray)
Catch ex As Exception
MessageCollector.AddExceptionMessage("RemoteDesktopConnectionManager.DecryptPassword() failed.", ex, , True)
Return Nothing
Finally
If gcHandle.IsAllocated Then gcHandle.Free()
Expand Down

0 comments on commit 39f22de

Please sign in to comment.