diff --git a/migrations/1621430588944-notify-cashbox-removal.js b/migrations/1621430588944-notify-cashbox-removal.js index 3be125b0..c41d30a0 100644 --- a/migrations/1621430588944-notify-cashbox-removal.js +++ b/migrations/1621430588944-notify-cashbox-removal.js @@ -22,9 +22,6 @@ exports.up = function (next) { return saveConfig(newConfig) .then(() => db.multi(sql, next)) .catch(err => { - if (err.message === 'lamassu-server is not configured') { - return next() - } return next(err) }) })