Handle 'error' SSH event
This commit is contained in:
parent
0ebf839822
commit
2711f892a2
|
@ -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', () => {
|
sshClient.on('close', () => {
|
||||||
restorePipe();
|
restorePipe();
|
||||||
|
|
Loading…
Reference in New Issue