mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-09 13:07:02 +03:00
Add eslint rules for dealing with promises
This commit is contained in:
@@ -177,7 +177,7 @@ export class Postgres implements IDatabase {
|
||||
);
|
||||
}
|
||||
|
||||
client.end();
|
||||
client.end().catch(err => Logger.error(`closing db (postgres): ${err}`));
|
||||
}
|
||||
|
||||
private async upgradeDB(fileNamePrefix: string, schemaFolder: string) {
|
||||
|
||||
Reference in New Issue
Block a user