Skip to content

Commit f8ba0aa

Browse files
committed
Adding process output to the exception description
1 parent e0b0d32 commit f8ba0aa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Gitonomy/Git/Exception/ProcessException.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ public function __construct(Process $process)
1313
parent::__construct("Error while running git command:\n".
1414
$process->getCommandLine()."\n".
1515
"\n".
16-
$process->getErrorOutput()
16+
$process->getErrorOutput()."\n".
17+
"\n".
18+
$process->getOutput()
1719
);
1820

1921
$this->process = $process;

0 commit comments

Comments
 (0)