This commit is contained in:
Aya Morisawa 2017-01-03 06:06:31 +09:00
parent e52885bfe4
commit 643da34c4f
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ async function init(): Promise<InitResult> {
// Try to connect to MongoDB
let mongoDBLogger = new Logger('MongoDB');
try {
const db = await initdb(config);
const db = await initdb();
mongoDBLogger.info('Successfully connected');
db.close();
} catch (e) {