Removing the 'error trying to execute' message and just displaying the errors themselves.

This commit is contained in:
Dan Cryer 2014-07-31 12:23:44 +01:00
parent 64fc4f0e16
commit 46ed8daac5

View file

@ -110,10 +110,6 @@ abstract class BaseCommandExecutor implements CommandExecutor
}
if (!empty($this->lastError)) {
if ($status != 0) {
$this->logger->log("\033[0;31m" . 'Error trying to execute: ' . $command . "\033[0m", LogLevel::ERROR);
}
$this->logger->log("\033[0;31m" . $this->lastError . "\033[0m", LogLevel::ERROR);
}