Handle errors correctly on sequelize:migrate and sequelize:undo