Skip to content
Snippets Groups Projects
Commit 3c521ee4 authored by Aya Morisawa's avatar Aya Morisawa
Browse files

Update log message

parent fde9d1bd
No related branches found
No related tags found
No related merge requests found
......@@ -183,10 +183,10 @@ async function init(): Promise<State> {
// Try to connect to MongoDB
try {
const db = await initdb(config);
log('Info', 'Success to connect to MongoDB');
log('Info', 'Successfully connected', 'MongoDB');
db.close();
} catch (e) {
log('Error', `MongoDB: ${e}`);
log('Error', `${e}`, 'MongoDB');
return State.failed;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment