This commit is contained in:
Aya Morisawa 2017-01-03 06:06:31 +09:00
parent a2d39de332
commit 29a6218ab4

View file

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