diff --git a/migrations/1599523522436-migrate-config.js b/migrations/1599523522436-migrate-config.js index 7a5e800d..ec0bae3b 100644 --- a/migrations/1599523522436-migrate-config.js +++ b/migrations/1599523522436-migrate-config.js @@ -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) }) }