Skip to content

Commit

Permalink
[Sismo] Better exception for failing Process
Browse files Browse the repository at this point in the history
  • Loading branch information
pborreli committed Apr 12, 2011
1 parent 8df87da commit 909801e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
$app['builder'] = $app->share(function () use ($app) {
$process = new Process(sprintf('%s --version', $app['git.path']));
if ($process->run() > 0) {
throw new \RuntimeException(sprintf('The git binary cannot be found (%s).', $app['git.path']));
throw new \RuntimeException(sprintf('The git binary cannot be found (%s).', $process->getErrorOutput()));
}

return new Builder($app['build.path'], $app['git.path'], $app['git.cmds']);
Expand Down

0 comments on commit 909801e

Please sign in to comment.