propagate connection stream errors

This commit is contained in:
Paul Collier 2010-10-30 18:23:54 -07:00
parent 01161c2d80
commit f5528fa7ed

View File

@ -46,6 +46,10 @@ p.connect = function(port, host) {
self.emit(msg.name, msg);
}
});
this.stream.on('error', function(error) {
self.emit('error', error);
});
};
p.startup = function(config) {