We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0daa09 commit 3444fd9Copy full SHA for 3444fd9
1 file changed
src/database/DatabaseManager.js
@@ -65,12 +65,12 @@ class DatabaseManager {
65
66
async _query(text, values) {
67
try {
68
- return await this._query(text, values);
+ return await this.pool.query(text, values);
69
} catch (err) {
70
if (this._isConnectionError(err)) {
71
this.logger.warn('Connection error, reconnecting:', err.code || err.message);
72
await this._reconnect();
73
74
}
75
throw err;
76
0 commit comments