Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Renci.SshNet/Session.cs
Original file line number Diff line number Diff line change
Expand Up @@ -992,6 +992,7 @@ internal void WaitOnHandle(WaitHandle waitHandle, TimeSpan timeout)
switch (signaledElement)
{
case 0:
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Capture(_exception).Throw();
throw _exception;
case 1:
throw new SshConnectionException("Client not connected.");
Expand Down