From eb4242136d40cc84983f79037d6c893cc24b4e32 Mon Sep 17 00:00:00 2001 From: Paolo Holinski Date: Fri, 1 Mar 2024 14:00:42 +0100 Subject: [PATCH] Better error message for readiness check --- src/nextjournal/garden_cli.clj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nextjournal/garden_cli.clj b/src/nextjournal/garden_cli.clj index f713bd7..cc0dab8 100755 --- a/src/nextjournal/garden_cli.clj +++ b/src/nextjournal/garden_cli.clj @@ -175,6 +175,7 @@ (println "Application ready on" url) (do (print-error (format "Application did not start after %ss." timeout-seconds)) + (print-error "Make sure your app binds to 0.0.0.0:%s and reponds with a 200 status code to HEAD requests to `/`.") (System/exit 1))))) .start) (fs/create-dirs storage-dir)