doesn't work
loop do
ImportR.run
rescue Exception => e
puts "Failed with error : #{e.inspect}"
end
|
Works
loop do
begin
ImportR.run
rescue Exception => e
puts "Failed with error : #{e.inspect}"
end
end
|
loop do
ImportR.run
rescue Exception => e
puts "Failed with error : #{e.inspect}"
end
|
loop do
begin
ImportR.run
rescue Exception => e
puts "Failed with error : #{e.inspect}"
end
end
|