Skip to content

Commit 5f5d42a

Browse files
author
alxndrsn
committed
revert fix to check tests fail without it
1 parent c7e766a commit 5f5d42a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/pg-cursor/index.js

-3
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,6 @@ class Cursor extends EventEmitter {
151151
}
152152

153153
handleError(msg) {
154-
// If this cursor has already closed, don't try to handle the error.
155-
if (this.state === 'done') return
156-
157154
// If we're in an initialized state we've never been submitted
158155
// and don't have a connection instance reference yet.
159156
// This can happen if you queue a stream and close the client before

0 commit comments

Comments
 (0)