mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-08 20:47:02 +03:00
remove client error listener completely
This commit is contained in:
@@ -97,10 +97,6 @@ export class Postgres implements IDatabase {
|
||||
let client: PoolClient;
|
||||
try {
|
||||
client = await this.getClient(type);
|
||||
client.on("error", (err) => {
|
||||
Logger.error(err.stack);
|
||||
});
|
||||
|
||||
const queryResult = await client.query({ text: query, values: params });
|
||||
|
||||
switch (type) {
|
||||
|
||||
Reference in New Issue
Block a user