lib/rbbt/util/misc/development.rb in rbbt-util-5.13.28 vs lib/rbbt/util/misc/development.rb in rbbt-util-5.13.29
- old
+ new
@@ -123,10 +123,10 @@
sleep = sleep_array.shift
end
try = 0
begin
yield
- rescue
+ rescue Exception
if msg
Log.warn("Insisting after exception: #{$!.message} -- #{msg}")
else
Log.warn("Insisting after exception: #{$!.message}")
end