1
0
Fork 0
mirror of https://github.com/Oreolek/kohana-migrations.git synced 2024-05-04 18:18:16 +03:00

Rethrow exception if migration fails, refs #27

This commit is contained in:
Matt Button 2011-07-13 22:31:22 +01:00
parent 0395d8f25d
commit 8800a290de

View file

@ -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')