From 2711f892a2e91d7722cdd0f0466127335475706a Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Sat, 19 Aug 2017 13:56:42 -0600 Subject: [PATCH] Handle 'error' SSH event --- core/door_party.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/door_party.js b/core/door_party.js index 1766f5ff..762f626b 100644 --- a/core/door_party.js +++ b/core/door_party.js @@ -96,6 +96,10 @@ exports.getModule = class DoorPartyModule extends MenuModule { }); }); }); + + sshClient.on('error', err => { + self.client.log.info(`DoorParty SSH client error: ${err.message}`); + }); sshClient.on('close', () => { restorePipe();