summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAya Morisawa <AyaMorisawa4869@gmail.com>2016-12-29 20:22:54 +0900
committerAya Morisawa <AyaMorisawa4869@gmail.com>2016-12-29 20:22:54 +0900
commit3c521ee4885d0bf985487a52e6d18c82d72ddedd (patch)
tree0c5094cfffc7bcd8f601a16fc738acf325450a24 /src
parentUpdate log message (diff)
downloadmisskey-3c521ee4885d0bf985487a52e6d18c82d72ddedd.tar.gz
misskey-3c521ee4885d0bf985487a52e6d18c82d72ddedd.tar.bz2
misskey-3c521ee4885d0bf985487a52e6d18c82d72ddedd.zip
Update log message
Diffstat (limited to 'src')
-rw-r--r--src/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/index.ts b/src/index.ts
index 0fb52c69a0..f70ab6a2bc 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -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;
}