We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c69daca commit 76eb5eaCopy full SHA for 76eb5ea
src/Commands/MigrateCommandExtension.php
@@ -27,13 +27,7 @@ public function handle(): int
27
return $this->call(MutexMigrateCommand::class, $this->getCommandOptions());
28
} catch (DatabaseCacheTableNotFoundException $e) {
29
if ($this->option(MutexMigrateCommand::OPTION_MUTEX)) {
30
- if ($this->option('graceful')) {
31
- $this->components->warn($e->getMessage());
32
-
33
- return self::SUCCESS;
34
- }
35
36
- return self::FAILURE;
+ return $this->options('graceful') ? self::SUCCESS : self::FAILURE;
37
} elseif ($this->option(MutexMigrateCommand::OPTION_MUTEX_GRACEFUL)) {
38
$this->components->warn('Falling back to a standard migration');
39
}
0 commit comments