Open
Description
maybe it's just me, but i find this surprising:
sql.begin((tsql) =>
tsql`select * from nonexistent`
.then(console.log)
.catch((ex) => Promise.resolve('no no it's fine everything is okay'))
).catch((ex) => console.log('got:', ex));
// got: PostgresError: relation "nonexistent" does not exist
i feel like this should not result in an error at all. i handled it, right?