debug
This commit is contained in:
parent
f5604e4a46
commit
e4ee428a14
@ -42,6 +42,7 @@ class MongoDB {
|
|||||||
this.logger.status('Initializing database connection.');
|
this.logger.status('Initializing database connection.');
|
||||||
|
|
||||||
await this.client.connect();
|
await this.client.connect();
|
||||||
|
this.logger.debug(`Connected, selecting DB`);
|
||||||
this.db = await this.client.db(this.database);
|
this.db = await this.client.db(this.database);
|
||||||
|
|
||||||
this.logger.status('Database connected.');
|
this.logger.status('Database connected.');
|
||||||
|
Loading…
Reference in New Issue
Block a user