mirror of
https://github.com/Oreolek/kohana-migrations.git
synced 2024-05-05 02:28:16 +03:00
Rethrow exception if migration fails, refs #27
This commit is contained in:
parent
981b81c43d
commit
b2e1af6b71
|
@ -114,7 +114,7 @@ class Minion_Task_Migrations_Run extends Minion_Task
|
|||
->set('migration', $e->get_migration())
|
||||
->set('error', $e->getMessage());
|
||||
|
||||
exit(2);
|
||||
throw $e;
|
||||
}
|
||||
|
||||
$view = View::factory('minion/task/migrations/run')
|
||||
|
|
Loading…
Reference in a new issue