Skip to content

Commit 7dbc4c9

Browse files
committed
Merge pull request brianc#552 from geon/patch-1
Added missing argument to handleError method call.
2 parents fb9876c + 5079c1e commit 7dbc4c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ Client.prototype.connect = function(callback) {
175175
con.once('end', function() {
176176
if(self.activeQuery) {
177177
var disconnectError = new Error('Stream unexpectedly ended during query execution');
178-
self.activeQuery.handleError(disconnectError);
178+
self.activeQuery.handleError(disconnectError, con);
179179
self.activeQuery = null;
180180
}
181181
self.emit('end');

0 commit comments

Comments
 (0)