Don't forget debug statement :/
This commit is contained in:
parent
9c1c832c9a
commit
e957664565
1 changed files with 1 additions and 2 deletions
|
@ -47,7 +47,6 @@ module Kemal
|
||||||
|
|
||||||
log "[#{config.env}] Kemal is ready to lead at #{config.scheme}://#{config.host_binding}:#{config.port}\n"
|
log "[#{config.env}] Kemal is ready to lead at #{config.scheme}://#{config.host_binding}:#{config.port}\n"
|
||||||
config.running = true
|
config.running = true
|
||||||
pp config.running
|
|
||||||
config.server.listen
|
config.server.listen
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -58,7 +57,7 @@ module Kemal
|
||||||
config.server.close
|
config.server.close
|
||||||
config.running = false
|
config.running = false
|
||||||
else
|
else
|
||||||
raise "config.server is not set. Please use Kemal.run to set the server."
|
raise "Kemal.config.server is not set. Please use Kemal.run to set the server."
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
raise "Kemal is already stopped."
|
raise "Kemal is already stopped."
|
||||||
|
|
Loading…
Reference in a new issue