From 5f5d42a071e40f8851035dba182642937dd35664 Mon Sep 17 00:00:00 2001 From: alxndrsn Date: Fri, 20 Oct 2023 10:19:29 +0000 Subject: [PATCH] revert fix to check tests fail without it --- packages/pg-cursor/index.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/pg-cursor/index.js b/packages/pg-cursor/index.js index a6017d96c..d3c0266b0 100644 --- a/packages/pg-cursor/index.js +++ b/packages/pg-cursor/index.js @@ -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