Add eslint rules for dealing with promises

This commit is contained in:
Ajay
2022-09-07 20:01:11 -04:00
parent 0ca134dc8f
commit bd7dfc63ff
15 changed files with 79 additions and 63 deletions

View File

@@ -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) {