lib/eco/api/session/batch.rb in eco-helpers-2.0.32 vs lib/eco/api/session/batch.rb in eco-helpers-2.0.33
- old
+ new
@@ -137,9 +137,10 @@
rescue error_type => e
raise unless retries_left > 0
explanation = "Batch TimeOut. You have #{retries_left} retries left."
prompt_user(" Do you want to retry (y/N)?", default: "Y", explanation: explanation, timeout: 10) do |response|
if response.upcase.start_with?("Y")
+ puts "\nOkay... let's retry!"
offer_retry_on(error_type, retries_left - 1, &block)
else
raise
end
end