query errors passed to a query callback function are considered handled
This commit is contained in:
parent
9281ff9860
commit
55f84924f2
@ -74,8 +74,9 @@ p.submit = function(connection) {
|
||||
if(self.callback) {
|
||||
self.callback(err);
|
||||
connection.removeListener('commandComplete', onCommandComplete);
|
||||
}
|
||||
} else {
|
||||
self.emit('error', err);
|
||||
}
|
||||
self.emit('end');
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user