Skip to content

Commit

Permalink
Merge pull request #121 from ghusse/master
Browse files Browse the repository at this point in the history
fix: crash when receiving "No Response from server"
  • Loading branch information
agebrock authored Dec 15, 2024
2 parents 9b5fc1d + e04cdf4 commit a0bb14c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ async function createTunnel( tunnelOptions, serverOptions, sshOptions, forwardOp
if (server) {
server.close()
}
throw err;
sshConnection.emit("error", err);
} else {
clientConnection.pipe(stream).pipe(clientConnection);
}
Expand Down

0 comments on commit a0bb14c

Please sign in to comment.