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