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) {
169169 self . readyForQuery = true ;
170170 self . _pulseQueryQueue ( ) ;
171171 if ( activeQuery ) {
172- activeQuery . handleReadyForQuery ( ) ;
172+ activeQuery . handleReadyForQuery ( con ) ;
173173 }
174174 } ) ;
175175
Original file line number Diff line number Diff line change @@ -116,9 +116,9 @@ Query.prototype.handleEmptyQuery = function(con) {
116116 }
117117} ;
118118
119- Query . prototype . handleReadyForQuery = function ( ) {
119+ Query . prototype . handleReadyForQuery = function ( con ) {
120120 if ( this . _canceledDueToError ) {
121- return this . handleError ( this . _canceledDueToError ) ;
121+ return this . handleError ( this . _canceledDueToError , con ) ;
122122 }
123123 if ( this . callback ) {
124124 this . callback ( null , this . _result ) ;
You can’t perform that action at this time.
0 commit comments