Skip to content

Commit

Permalink
Better error message for readiness check
Browse files Browse the repository at this point in the history
  • Loading branch information
Sohalt committed Mar 1, 2024
1 parent 2b85b14 commit eb42421
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/nextjournal/garden_cli.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit eb42421

Please # to comment.