Skip to content

Commit

Permalink
revert fix to check tests fail without it
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndrsn committed Oct 20, 2023
1 parent c7e766a commit 5f5d42a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/pg-cursor/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,6 @@ class Cursor extends EventEmitter {
}

handleError(msg) {
// If this cursor has already closed, don't try to handle the error.
if (this.state === 'done') return

// If we're in an initialized state we've never been submitted
// and don't have a connection instance reference yet.
// This can happen if you queue a stream and close the client before
Expand Down

0 comments on commit 5f5d42a

Please sign in to comment.