We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fb9876c + 5079c1e commit 7dbc4c9Copy full SHA for 7dbc4c9
lib/client.js
@@ -175,7 +175,7 @@ Client.prototype.connect = function(callback) {
175
con.once('end', function() {
176
if(self.activeQuery) {
177
var disconnectError = new Error('Stream unexpectedly ended during query execution');
178
- self.activeQuery.handleError(disconnectError);
+ self.activeQuery.handleError(disconnectError, con);
179
self.activeQuery = null;
180
}
181
self.emit('end');
0 commit comments