log error during setup

This commit is contained in:
lesion
2022-05-20 13:54:57 +02:00
parent 920204ae40
commit c5cb207a94

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()
}