mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
log error during setup
This commit is contained in:
parent
920204ae40
commit
c5cb207a94
1 changed files with 4 additions and 1 deletions
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue