* Try to handle socket error
* Fix bug in wrapping with MultiLineEditText * Updates on message base DB layout/triggers * Detect some terminals via ANSI DSR for device attributes (WIP)
This commit is contained in:
@@ -477,6 +477,11 @@ function TelnetClient(input, output) {
|
||||
this.input.on('end', function() {
|
||||
self.emit('end');
|
||||
});
|
||||
|
||||
this.input.on('error', function sockError(err) {
|
||||
Log.debug(err); // :TODO: probably something better...
|
||||
self.emit('end');
|
||||
});
|
||||
}
|
||||
|
||||
util.inherits(TelnetClient, baseClient.Client);
|
||||
|
||||
Reference in New Issue
Block a user