lib/asynchronic.rb in asynchronic-1.2.1 vs lib/asynchronic.rb in asynchronic-1.2.2
- old
+ new
@@ -33,10 +33,10 @@
def self.retry_execution(a_class, message)
begin
result = yield
rescue Exception => ex
- logger.info(a_class) { "Retrying #{message}. ERROR: #{ex.message}" }
+ logger.error(a_class) { "Retrying #{message}. ERROR: #{ex.message}" }
sleep RETRY_TIMEOUT
retry
end
result
end
\ No newline at end of file