lib/eco/api/session/batch.rb in eco-helpers-2.0.24 vs lib/eco/api/session/batch.rb in eco-helpers-2.0.25

- old
+ new

@@ -135,10 +135,10 @@ begin block.call 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)?", explanation, default: "Y", timeout: 10) do |response| + prompt_user(" Do you want to retry (y/N)?", default: "Y", explanation: explanation, timeout: 10) do |response| if response.upcase.start_with?("Y") offer_retry_on(error_type, retries_left - 1, &block) else raise end