removed fatal level
This commit is contained in:
parent
9bd67779ec
commit
abab09546c
4 changed files with 6 additions and 7 deletions
|
@ -14,7 +14,7 @@ module.exports = {
|
|||
mongoose.set('useFindAndModify', false)
|
||||
mongoose.Promise = global.Promise
|
||||
} catch (err) {
|
||||
client.logger.fatal(`Could not connect to the database:\n ${err.stack}`)
|
||||
client.logger.error(`Could not connect to the database:\n ${err.stack}`)
|
||||
}
|
||||
|
||||
mongoose.connection.on('connected', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue