lib/rbbt/util/misc/development.rb in rbbt-util-5.23.21 vs lib/rbbt/util/misc/development.rb in rbbt-util-5.23.22
- old
+ new
@@ -160,9 +160,10 @@
else
Log.warn("Not Insisting after Aborted: #{$!.message}")
end
raise $!
rescue Exception
+ Log.exception $! if ENV["RBBT_LOG_INSIST"] == 'true'
if msg
Log.warn("Insisting after exception: #{$!.class} #{$!.message} -- #{msg}")
elsif FalseClass === msg
nil
else