added kamal proxy reboot to raised error

This commit is contained in:
Jonas Pardeyke
2024-10-15 22:47:08 +02:00
parent 607368121e
commit 0f3786781b
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ class Kamal::Cli::Proxy < Kamal::Cli::Base
version = capture_with_info(*KAMAL.proxy.version).strip.presence
if version && Kamal::Utils.older_version?(version, Kamal::Configuration::PROXY_MINIMUM_VERSION)
raise "kamal-proxy version #{version} is too old, please reboot to update to at least #{Kamal::Configuration::PROXY_MINIMUM_VERSION}"
raise "kamal-proxy version #{version} is too old, please reboot to update to at least #{Kamal::Configuration::PROXY_MINIMUM_VERSION}. Run `kamal proxy reboot`."
end
execute *KAMAL.proxy.start_or_run
end