fix: unneeded error handling
This commit is contained in:
parent
598135ccaf
commit
b99f98982b
1 changed files with 0 additions and 3 deletions
|
|
@ -22,9 +22,6 @@ exports.up = function (next) {
|
||||||
return saveConfig(newConfig)
|
return saveConfig(newConfig)
|
||||||
.then(() => db.multi(sql, next))
|
.then(() => db.multi(sql, next))
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
if (err.message === 'lamassu-server is not configured') {
|
|
||||||
return next()
|
|
||||||
}
|
|
||||||
return next(err)
|
return next(err)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue