diff options
| author | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2016-12-29 20:22:54 +0900 |
|---|---|---|
| committer | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2016-12-29 20:22:54 +0900 |
| commit | 3c521ee4885d0bf985487a52e6d18c82d72ddedd (patch) | |
| tree | 0c5094cfffc7bcd8f601a16fc738acf325450a24 /src | |
| parent | Update log message (diff) | |
| download | misskey-3c521ee4885d0bf985487a52e6d18c82d72ddedd.tar.gz misskey-3c521ee4885d0bf985487a52e6d18c82d72ddedd.tar.bz2 misskey-3c521ee4885d0bf985487a52e6d18c82d72ddedd.zip | |
Update log message
Diffstat (limited to 'src')
| -rw-r--r-- | src/index.ts | 4 |
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; } |