diff --git a/Classes/Command/MigrationsCommandController.php b/Classes/Command/MigrationsCommandController.php index f4b8502..7cbef12 100644 --- a/Classes/Command/MigrationsCommandController.php +++ b/Classes/Command/MigrationsCommandController.php @@ -114,7 +114,7 @@ protected function handleException(\Exception $exception) $message = $this->throwableStorage->logThrowable($exception); $this->outputLine($message); $this->logger->error($message, LogEnvironment::fromMethodName(__METHOD__)); - $this->quit(1); + throw $exception; } protected function increaseDatabaseTimeout($timeout = 3600): void diff --git a/Tests/Unit/Domain/Service/FileSystemMigrationsResolverTest.php b/Tests/Unit/Domain/Service/FileSystemMigrationsResolverTest.php index 413bf13..809bd3e 100644 --- a/Tests/Unit/Domain/Service/FileSystemMigrationsResolverTest.php +++ b/Tests/Unit/Domain/Service/FileSystemMigrationsResolverTest.php @@ -44,7 +44,6 @@ protected function setUp() */ public function Can_return_empty_array() { - xdebug_break(); $files = $this->fileSystemMigrationsResolver->findMigrationFiles(); $this->assertCount(0, $files); }