fix: error handling
This commit is contained in:
parent
b1a2c20e87
commit
91c1b077fa
1 changed files with 2 additions and 1 deletions
|
|
@ -28,9 +28,10 @@ module.exports.up = function (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