Respond to PR comment.
This commit is contained in:
parent
4165c6cab4
commit
13248c409f
|
@ -272,8 +272,7 @@ class PostgresIntegration extends Sql implements DatasourcePlus {
|
||||||
try {
|
try {
|
||||||
const bindings = query.bindings || []
|
const bindings = query.bindings || []
|
||||||
this.log(query.sql, bindings)
|
this.log(query.sql, bindings)
|
||||||
const result = await client.query(query.sql, bindings)
|
return await client.query(query.sql, bindings)
|
||||||
return result
|
|
||||||
} catch (err: any) {
|
} catch (err: any) {
|
||||||
await this.closeConnection()
|
await this.closeConnection()
|
||||||
let readableMessage = getReadableErrorMessage(
|
let readableMessage = getReadableErrorMessage(
|
||||||
|
|
Loading…
Reference in New Issue