mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 09:57:29 -07:00
Update log message
This commit is contained in:
parent
45d38e094a
commit
6d79fafe05
1 changed files with 2 additions and 2 deletions
|
@ -183,10 +183,10 @@ async function init(): Promise<State> {
|
||||||
// Try to connect to MongoDB
|
// Try to connect to MongoDB
|
||||||
try {
|
try {
|
||||||
const db = await initdb(config);
|
const db = await initdb(config);
|
||||||
log('Info', 'Success to connect to MongoDB');
|
log('Info', 'Successfully connected', 'MongoDB');
|
||||||
db.close();
|
db.close();
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
log('Error', `MongoDB: ${e}`);
|
log('Error', `${e}`, 'MongoDB');
|
||||||
return State.failed;
|
return State.failed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue