Skip to content

Commit

Permalink
Merge pull request #4 from netlogix/bugfix/rethrow-exception-in-migra…
Browse files Browse the repository at this point in the history
…tions-command-controller

Bugfix/re throw exception in migrations command controller
  • Loading branch information
paxuclus authored May 28, 2020
2 parents a5b85bc + 797106a commit d06b624
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Classes/Command/MigrationsCommandController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ protected function setUp()
*/
public function Can_return_empty_array()
{
xdebug_break();
$files = $this->fileSystemMigrationsResolver->findMigrationFiles();
$this->assertCount(0, $files);
}
Expand Down

0 comments on commit d06b624

Please sign in to comment.