Permalink
Browse files

Add error logging to RemoteDesktopConnectionManager.DecryptPassword().

  • Loading branch information...
1 parent 69befbc commit 39f22dec4c8ff8fdcb58ea81b15a1a5c5965be18 @rmcardle rmcardle committed Nov 17, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 mRemoteV1/Config/Import/RemoteDesktopConnectionManager.vb
@@ -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
@@ -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()

0 comments on commit 39f22de

Please sign in to comment.