log error during setup

This commit is contained in:
lesion 2022-05-20 13:54:57 +02:00
parent 920204ae40
commit c5cb207a94
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

@ -27,7 +27,10 @@ module.exports = function () {
}
setupController._setupDb(dbConf)
.catch(e => { process.exit(1) })
.catch(e => {
log.warn(String(e))
process.exit(1)
})
}
await settingsController.load()
}