diff --git a/src/Renci.SshNet/Common/AsyncResult.cs b/src/Renci.SshNet/Common/AsyncResult.cs index 7b27ccb8..70726ed4 100644 --- a/src/Renci.SshNet/Common/AsyncResult.cs +++ b/src/Renci.SshNet/Common/AsyncResult.cs @@ -90,7 +90,7 @@ namespace Renci.SshNet.Common // Operation is done: if an exception occurred, throw it if (_exception != null) - throw new SshException(_exception.Message, _exception); + throw _exception; } #region Implementation of IAsyncResult