removed fatal level

This commit is contained in:
Emily 2020-04-19 00:23:50 +10:00
parent 9bd67779ec
commit abab09546c
4 changed files with 6 additions and 7 deletions

View file

@ -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', () => {