fix: error handling in migration
This commit is contained in:
parent
7273d4f31f
commit
02c831c13e
1 changed files with 2 additions and 1 deletions
|
|
@ -10,9 +10,10 @@ exports.up = function (next) {
|
|||
.then(() => next())
|
||||
.catch(err => {
|
||||
if (err.message === 'lamassu-server is not configured') {
|
||||
next()
|
||||
return next()
|
||||
}
|
||||
console.log(err.message)
|
||||
return next(err)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue