File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ Client.prototype.connect = function(callback) {
169
169
self . readyForQuery = true ;
170
170
self . _pulseQueryQueue ( ) ;
171
171
if ( activeQuery ) {
172
- activeQuery . handleReadyForQuery ( ) ;
172
+ activeQuery . handleReadyForQuery ( con ) ;
173
173
}
174
174
} ) ;
175
175
Original file line number Diff line number Diff line change @@ -116,9 +116,9 @@ Query.prototype.handleEmptyQuery = function(con) {
116
116
}
117
117
} ;
118
118
119
- Query . prototype . handleReadyForQuery = function ( ) {
119
+ Query . prototype . handleReadyForQuery = function ( con ) {
120
120
if ( this . _canceledDueToError ) {
121
- return this . handleError ( this . _canceledDueToError ) ;
121
+ return this . handleError ( this . _canceledDueToError , con ) ;
122
122
}
123
123
if ( this . callback ) {
124
124
this . callback ( null , this . _result ) ;
You can’t perform that action at this time.
0 commit comments