Yitzi2
Yitzi2
Sorry. The following code is sufficient to produce this error message: const pg = require('pg'); pg.defaults.ssl = true; const pool = new pg.Pool({connectionString: undefined}); pool.query("foo"); If I leave out the...
While it is correct in the sense that nothing is failing to work according to code, it is still a misleading error message; this is more a "feature add request"...
Because if the connection string was unintentionally undefined (a fairly common error type), it makes it look like it's attempting to connect to the intended server and failing on that...
Ok, thanks. Additional info to the error message (even if it's just what was connected to) would definitely help with debugging.