From: Ben Vishny on 7 Feb 2010 17:36
I am using a begin.. rescue.. else block to catch a timeout and try
again until it succeeds. Despite the rescue block, the program still
crashes due to a timeout error. Don't rescue blocks catch everything?
success = false
while success == false
output2 = exportForm.click_button(exportForm.buttons)
output "Timeout.. waiting 5s then trying again"
success = true
Posted via http://www.ruby-forum.com/.
Prev: Monkeybars dead?
Next: Issue during multiple calls to C embedded Ruby with dlopen