mirror of https://github.com/itflow-org/itflow
Enhance git fetch error: include error on page if possible
This commit is contained in:
parent
ff161ab47b
commit
05f25b3ebf
|
|
@ -28,6 +28,9 @@ $git_log = shell_exec("git log $repo_branch..origin/$repo_branch --pretty=format
|
|||
<?php if ($result !== 0) { ?>
|
||||
<div class="alert alert-danger" role="alert">
|
||||
<strong>WARNING: Could not find execute 'git fetch'.</strong>
|
||||
<br><br>
|
||||
<i>Error details: <?php echo(shell_exec("git fetch 2>&1")); ?></i>
|
||||
<br>
|
||||
<br>Things to check: Is Git installed? Is the Git origin/remote correct? Are web server file permissions too strict?
|
||||
<br>Seek support on the <a href="https://forum.itflow.org">Forum</a> if required - include relevant PHP error logs & ITFlow debug output
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue