You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sure. The problem is, if you do something like const dbConnection = new Client(); const connectionPromise = dbConnection.connect() the node process may crash, and you won't be able to catch the error as it won't be propagated through the connectionPromise.
When running CLI without specifying any database connection options, it may crash with a confusing error (see title).
This is because this case is not handled well in
node-postgres
: brianc/node-postgres#1927 (comment)Not sure whether we can do anything about this on our side
The text was updated successfully, but these errors were encountered: