diff --git a/PHPCI/Helper/BaseCommandExecutor.php b/PHPCI/Helper/BaseCommandExecutor.php index 418b664f..7082b722 100644 --- a/PHPCI/Helper/BaseCommandExecutor.php +++ b/PHPCI/Helper/BaseCommandExecutor.php @@ -131,6 +131,14 @@ abstract class BaseCommandExecutor implements CommandExecutor return implode(PHP_EOL, $this->lastOutput); } + /** + * Returns the stderr output from the last command run. + */ + public function getLastError() + { + return $this->lastError; + } + /** * Find a binary required by a plugin. * @param string $binary