mirror of
https://github.com/itflow-org/itflow
synced 2026-03-05 05:14:51 +00:00
Enhance git fetch error: include error on page if possible
This commit is contained in:
@@ -28,6 +28,9 @@ $git_log = shell_exec("git log $repo_branch..origin/$repo_branch --pretty=format
|
|||||||
<?php if ($result !== 0) { ?>
|
<?php if ($result !== 0) { ?>
|
||||||
<div class="alert alert-danger" role="alert">
|
<div class="alert alert-danger" role="alert">
|
||||||
<strong>WARNING: Could not find execute 'git fetch'.</strong>
|
<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>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
|
<br>Seek support on the <a href="https://forum.itflow.org">Forum</a> if required - include relevant PHP error logs & ITFlow debug output
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user