Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix prompt on failure #202

Merged
merged 2 commits into from Mar 9, 2015
Merged

Fix prompt on failure #202

merged 2 commits into from Mar 9, 2015

Conversation

kobake
Copy link
Contributor

@kobake kobake commented Feb 10, 2015

Problem

Prompt for marking as successful isn't shown on migration failure.

Cause

MigrationShell::_execute() can't catch MigrationException because MigrationVersion::run() catch all Exception.

This patch

In MigrationVersion::run(), throw MigrationException to outside when catch one.

@deizel deizel merged commit bca17ea into CakeDC:master Mar 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants