From 2e0e2db647affa038b4255e94f7c6173972cc5a8 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sun, 12 Sep 2021 00:54:24 -0400 Subject: [PATCH] chore: show a better error message when the image is missing Refs dokku/dokku-clickhouse#4 --- functions | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/functions b/functions index 56ae036..7fdf3f8 100755 --- a/functions +++ b/functions @@ -150,7 +150,11 @@ service_start() { elif service_image_exists "$SERVICE"; then service_create_container "$SERVICE" else - dokku_log_verbose_quiet "Neither container nor valid configuration exists for $SERVICE" + if ! service_image_exists "$SERVICE"; then + dokku_log_verbose_quiet "Missing image $PLUGIN_IMAGE:$PLUGIN_IMAGE_VERSION for $SERVICE" + else + dokku_log_verbose_quiet "Neither container nor valid configuration exists for $SERVICE" + fi fi }