dont throw when no error is cast
This commit is contained in:
parent
b170d9d758
commit
115d37a6da
@ -199,7 +199,7 @@ class GitRepo {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$status = trim(proc_close($resource));
|
$status = trim(proc_close($resource));
|
||||||
if ($status) throw new \Exception($stderr);
|
if ($status && $stderr) throw new \Exception($stderr);
|
||||||
|
|
||||||
return $stdout;
|
return $stdout;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user