We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 027ff69 commit cbf3521Copy full SHA for cbf3521
src/databases/Postgres.ts
@@ -141,6 +141,8 @@ export class Postgres implements IDatabase {
141
}
142
} while (this.isReadQuery(type) && tries < (lastPool === this.pool
143
? this.config.postgres.maxTries : this.config.postgresReadOnly.maxTries));
144
+
145
+ throw new Error(`prepare (postgres): ${type} ${query} failed after ${tries} tries`);
146
147
148
private getPool(type: string, options: QueryOption): Pool {
0 commit comments