Wrapped re-thrown exception into SshException(ex.Message, ex).

This commit is contained in:
Kenneth_aa_cp
2012-09-13 06:12:54 +00:00
parent b97462ff45
commit 2a63e560e7
@@ -90,7 +90,7 @@ namespace Renci.SshNet.Common
// Operation is done: if an exception occurred, throw it
if (this._exception != null)
throw this._exception;
throw new SshException(this._exception.Message, this._exception);
}
#region Implementation of IAsyncResult