mirror of
https://github.com/sshnet/SSH.NET.git
synced 2026-09-11 01:36:39 +00:00
Wrapped re-thrown exception into SshException(ex.Message, ex).
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user