lib/sinatra/runner.rb in sinatra-contrib-3.1.0 vs lib/sinatra/runner.rb in sinatra-contrib-3.2.0
- old
+ new
@@ -115,10 +115,10 @@
loop do
return if alive?
if Time.now - @started > timeout
warn command, log
- raise 'timeout'
+ raise "timeout starting server with command '#{command}'"
else
sleep 0.1
end
end
end