From 4e507cf5bc5f264d3b6fcac53aaa0a3cf9d3b899 Mon Sep 17 00:00:00 2001 From: Adrian Irving-Beer Date: Wed, 19 Oct 2011 16:26:58 -0400 Subject: [PATCH] Raise on Rack app timeout. --- lib/capybara/server.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/capybara/server.rb b/lib/capybara/server.rb index 38707072..cc6a47c6 100644 --- a/lib/capybara/server.rb +++ b/lib/capybara/server.rb @@ -71,8 +71,7 @@ module Capybara end end rescue TimeoutError - puts "Rack application timed out during boot" - exit + raise "Rack application timed out during boot" else self end