1
0
Fork 0
mirror of synced 2024-10-04 20:13:35 +13:00

Respond to PR comment.

This commit is contained in:
Sam Rose 2024-10-01 16:44:16 +01:00
parent 4165c6cab4
commit 13248c409f
No known key found for this signature in database

View file

@ -272,8 +272,7 @@ class PostgresIntegration extends Sql implements DatasourcePlus {
try {
const bindings = query.bindings || []
this.log(query.sql, bindings)
const result = await client.query(query.sql, bindings)
return result
return await client.query(query.sql, bindings)
} catch (err: any) {
await this.closeConnection()
let readableMessage = getReadableErrorMessage(