lib/calabash-cucumber/launch/simulator_helper.rb in calabash-cucumber-0.9.145.pre4 vs lib/calabash-cucumber/launch/simulator_helper.rb in calabash-cucumber-0.9.145.pre5

- old
+ new

@@ -224,13 +224,13 @@ sleep 1 unless connected end end end rescue TimeoutErr => e - puts "Timed out..." + puts 'Timed out...' end end - rescue e + rescue RuntimeError => e p e msg = "Unable to make connection to Calabash Server at #{ENV['DEVICE_ENDPOINT']|| "http://localhost:37265/"}\n" msg << "Make sure you've' linked correctly with calabash.framework and set Other Linker Flags.\n" msg << "Make sure you don't have a firewall blocking traffic to #{ENV['DEVICE_ENDPOINT']|| "http://localhost:37265/"}.\n" raise msg