lib/rbbt/util/misc/development.rb in rbbt-util-5.21.80 vs lib/rbbt/util/misc/development.rb in rbbt-util-5.21.81
- old
+ new
@@ -156,9 +156,11 @@
end
raise $!
rescue Exception
if msg
Log.warn("Insisting after exception: #{$!.class} #{$!.message} -- #{msg}")
+ elsif FalseClass === msg
+ nil
else
Log.warn("Insisting after exception: #{$!.class} #{$!.message}")
end
if sleep and try > 0