Commit 0cc9e0da authored by guilhermeblanco's avatar guilhermeblanco

[2.0][DDC-426] Fixed issue with CliController that never notifies if run()...

[2.0][DDC-426] Fixed issue with CliController that never notifies if run() executed successfully or not.
parent e06f7c98
......@@ -138,6 +138,8 @@ class CliController extends AbstractNamespace
$this->runTask($taskName, $taskArguments);
}
return true;
} catch (\Exception $e) {
$message = $taskName . ' => ' . $e->getMessage();
......@@ -146,8 +148,9 @@ class CliController extends AbstractNamespace
}
$this->getPrinter()->writeln($message, 'ERROR');
}
return false;
}
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment