apocas / docker-modem

Docker Remote API network stack driver.
Apache License 2.0
234 stars 112 forks source link

Update ssh.js to add error handling. #154

Closed SelfhostedPro closed 1 year ago

SelfhostedPro commented 1 year ago

Was running into an issue where I couldn't catch an error if the SSH client timed out. Adding the .on catch enabled me to catch it from the parent application. If it needs more changes, please let me know. For now I'm just patching it with pnpm patch which I would prefer not to do.

apocas commented 1 year ago

Looks good 👍 Will ping when published.