mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-10 11:33:17 +00:00
refactor commands
This commit is contained in:
@@ -64,8 +64,9 @@ class module_console_taskState extends Command
|
||||
|
||||
public function execute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
if ( ! $this->checkSetup($output)) {
|
||||
|
||||
try{
|
||||
$this->checkSetup();
|
||||
} catch (\RuntimeException $e){
|
||||
return self::EXITCODE_SETUP_ERROR;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user