Skip to content

Commit 171db6c

Browse files
committed
Better error reporting in PHP proxy
1 parent 1fa9515 commit 171db6c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

utils/php_proxy.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ sudo chown docker:docker /opt/php_env_var_cache.php
55
REGENERATE=$(/usr/bin/real_php /usr/local/bin/check_php_env_var_changes.php)
66

77
if [[ "$REGENERATE" != "0" ]] && [[ "$REGENERATE" != "1" ]]; then
8+
>&2 echo "Unexpected PHP proxy output:"
9+
>&2 echo $REGENERATE
810
exit 1
911
fi
1012

0 commit comments

Comments
 (0)