From 7f6688c01adbe8548ce6aa3d7e8040f481e1475b Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sun, 29 Jul 2018 20:13:44 -0400 Subject: [PATCH] hack: log the procfile and more --- plugins/ps/functions | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/ps/functions b/plugins/ps/functions index 44b7648d9..2f90d5535 100755 --- a/plugins/ps/functions +++ b/plugins/ps/functions @@ -34,11 +34,14 @@ extract_procfile() { copy_from_image "$IMAGE" "Procfile" "$DOKKU_PROCFILE" 2>/dev/null || true if [[ -f "$DOKKU_PROCFILE" ]]; then dokku_log_info1_quiet "App Procfile file found ($DOKKU_PROCFILE)" + cat "$DOKKU_PROCFILE" + set -x # shellcheck disable=SC2069 PROCFILE_ERRORS="$(procfile-util check --procfile "$DOKKU_PROCFILE" 2>&1 >/dev/null || true)" if [[ -n "$PROCFILE_ERRORS" ]]; then dokku_log_fail "${PROCFILE_ERRORS}" fi + set +x else dokku_log_info1_quiet "No Procfile found in app image" fi