calabash-cucumber 0.9.89 → 0.9.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Gemfile.lock
CHANGED
|
@@ -359,7 +359,7 @@ module Calabash
|
|
|
359
359
|
end
|
|
360
360
|
body = @http.request(req).body
|
|
361
361
|
break
|
|
362
|
-
rescue Errno::ECONNRESET, EOFError, Errno::ECONNREFUSED, Errno::EPIPE => e
|
|
362
|
+
rescue Errno::ECONNRESET, EOFError, Errno::ECONNREFUSED, Errno::EPIPE, Timeout::Error => e
|
|
363
363
|
if count < CAL_HTTP_RETRY_COUNT-1
|
|
364
364
|
puts "Retrying.. (#{e})"
|
|
365
365
|
sleep(0.3)
|
|
@@ -104,7 +104,7 @@ module Calabash
|
|
|
104
104
|
|
|
105
105
|
def handle_error_with_options(ex, timeout_message, screenshot_on_error)
|
|
106
106
|
msg = (timeout_message || ex)
|
|
107
|
-
if ex and ex.respond_to
|
|
107
|
+
if ex and ex.respond_to?(:backtrace)
|
|
108
108
|
msg = "#{msg} (#{ex.backtrace.join(", ")})"
|
|
109
109
|
end
|
|
110
110
|
if screenshot_on_error
|